Hi,
I can see a bunch of sensors but not the macbook battery percentage sensor.
Is there a way to do this? or another integration I can use?
The glances docs don’t mention glances so probably not.
Mac is Unix based so an ssh comnand line sensor may work. Can you get the batery level from the comand line on your mac?
I’m also looking into this, Glances is not returning the info so you can use “pmset -g batt”. It looks like these commands can be used to make it easier to get the % but the regex doesn’t seem to work in zsh
Hi, I am also trying to use a sensor for the macbook that detaches the load when the battery is charged. Can you help me. Could you post the code?
pmset -g batt | awk 'NR==2 { print $3 }' | sed 's/.$//