I am trying to figure out how effective my laptop battery is. Therefore, I woud like to see for how long the battery has been running without AC, since reboot or since AC was plugged in last.

Is this possible? If not, I'll just have to time it manually myself of course.

I'm running Ubuntu 14.

  • what does the command apm says? I know there is also a proc file, cannot remember it. – Rui F Ribeiro Aug 23 '17 at 17:52
  • 1
    Rui - I just get No APM support in kernel (does it matter that I just now installed the package?) – vatsug Aug 23 '17 at 18:07

I think that upower -d can give you some answers, it shows info about the batteries.

Another source of info is /sys/class/power_supply/XX where XX is any battery listed in the folder...

You can see upower official docs to find more info

  • It doensnt answer my particular question, sadly, but does contain useful info. Thanks anyway:) – vatsug Aug 24 '17 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.