From 418e88356e362fde58a752f0012019267b84e665 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 18 Jun 2024 07:43:04 +0100 Subject: [PATCH] Remove display-battery-mode --- init.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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