diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -307,6 +307,11 @@ | |||
307 | (display-time-mode) | 307 | (display-time-mode) |
308 | 308 | ||
309 | ;; Display battery percentage in modeline | 309 | ;; Display battery percentage in modeline |
310 | (use-package emacs | ||
311 | :config | ||
312 | (setq battery-mode-line-format "[ %b%p%% ]" | ||
313 | battery-load-low 30 | ||
314 | battery-load-critical 15)) | ||
310 | (display-battery-mode) | 315 | (display-battery-mode) |
311 | 316 | ||
312 | ;; --------------------------------- | 317 | ;; --------------------------------- |