I am trying to get information about my battery status using the following command from this answer.
upower -i /org/freedesktop/UPower/devices/battery_BAT0
But I am not getting any information about my battery. I get the following in my terminal
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: (null)
power supply: no
updated: Thursday 01 January 1970 05:30:00 AM IST (1531404045 seconds ago)
has history: no
has statistics: no
unknown
warning-level: unknown
icon-name: '(null)'
How can I update my battery information, because it says
updated: Thursday 01 January 1970 05:30:00 AM IST (1531404045 seconds ago)
ll freedesktop/UPower/devices
to see all available to pick. – WinEunuuchs2Unix Jul 12 '18 at 17:48$ ll freedesktop/UPower/devices ls: cannot access 'freedesktop/UPower/devices': No such file or directory
. What should I do? – Rahul Goswami Jul 12 '18 at 18:11/org/
in front like you did before. – WinEunuuchs2Unix Jul 12 '18 at 20:00