Update battery thresholds.

This commit is contained in:
Vincent Zhang 2019-03-02 01:06:47 +07:00
parent 6c35035bc8
commit b1b51de36a

View file

@ -1712,11 +1712,11 @@ we don't want to remove that so we just return the original."
(if doom-modeline-icon
(doom-modeline-icon-faicon "battery-full" :v-adjust -0.0575)
(propertize "-" 'face face)))
((> percentage-number 50)
((> percentage-number 70)
(if doom-modeline-icon
(doom-modeline-icon-faicon "battery-three-quarters" :v-adjust -0.0575)
(propertize "-" 'face face)))
((> percentage-number 30)
((> percentage-number 40)
(if doom-modeline-icon
(doom-modeline-icon-faicon "battery-half" :v-adjust -0.0575)
(propertize "-" 'face face)))