0

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)

0 Answers0