Is there a way to check battery life of the pinephone through SSH with some command?
upower is a possibility.
Use the following to get the battery device name
Then use the following command (replace $BAT with your actual device)
upower -i /org/freedesktop/UPower/devices/$BAT
Or you could try combining to one command - something like
upower -i $(upower -e | grep 'battery_')
You can run this command to get the current charge percentage:
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.