How do I measure battery life?

Solution 1:

With gnome-power-statistics.

Run in the terminal : gnome-power-statistics

A GUI will appear.It allows you to visualize the power consumption of laptop hardware.

enter image description hereenter image description here

See here: MakeUseOf and here: Ubuntu manpage

Alternatively you may use powerstat.

sudo apt-get install powerstat

Then run in the terminal powerstat. It will you necessary info. See here: Ubuntu manpage and here : hecticgeek