Battery usage information


(hrn) #1

Hi,

How to learn battery status with command line ? How do I know the amount of remaining battery?

banana pi m3 ubuntu server

sorry for speaking bad english. I am using a translation service.

Thank you.

EDIT

cat /sys/class/power_supply/battery/status

cat /sys/class/power_supply/battery/capacity

these commands are working