upower
is more reliable and recommended to get information on battery. acpi can also be used, but it has some quirks.
To get an overview on all your devices that have a battery (notebook, mouse, etc):
$ upower -d
The “Capacity” statistic compares the original power capacity that the battery had when it was new with the current maximum power capacity. Batteries do lose maximum power charge as they age, and this can be a good way to see if the battery needs replacement.
sudo rm /var/lib/upower/*
After a few charge/discharge cycles, the indicator should become more accurate as the system learns how to estimate the correct percentage