View Single Post
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#55
to my config, just underneath the SWAP-Info.

This displays the string "Charging!" if the battery is being charged (and not just connected to the PC/Power together wit the percentage and a bar. (see screenshot)
The information is updated every 30 sec to save CPU-Cycles.

The only thing I miss is the option "default_bar_size" which is not available in the current build. With this option the bar would be the right size.

Have fun!
Thank Snafu! I've been trying to figure out how to get the battery percent on here for awhile gave up till I found your old post.

I used just

${color yellow}Battery:$color ${goto 110}${execibar 30 hal-device bme |grep "percentage" |awk '{print $3;}'}

Which gave me "battery: 100%"

I'm a happy camper now.

x