diff --git a/init.el b/init.el index 8c95d15..e36747c 100644 --- a/init.el +++ b/init.el @@ -300,13 +300,7 @@ (column-number-mode -1) (size-indication-mode +1) (display-time-mode -1) - -(require 'battery) -(when (and battery-status-function - (not ( string-match-p "unknown" - ( battery-format "%B" - (funcall battery-status-function))))) - (display-battery-mode +1)) +(display-battery-mode -1) (use-package diff-hl :functions (diff-hl-magit-pre-refresh