The battery sends basic performance statistics to the OS (Whether it be Linux, Mac or Windows). This is done by a chip in the battery casing.
Sometimes a battery needs to be calibrated
by cycling it through using it until it completely drains, then charging the battery up to 100% (Or as near as you can tell) with the notebook computer not being used while charging. I usually suggest letting it drain completely (notebook dies), then plugging it in and letting it charge overnight as you sleep.
A couple of those cycles will calibrate the battery.
Many details as to the battery are set by the manufacturer and accessible in the BIOS (Motherboard) settings, not in the OS.
Some manufacturers include a Reset Button for the battery (I have owned many Acer Aspires and never noticed one) and some manufacturers lock the battery to ensure that the end user only uses OEM batteries and cannot replace it with another maker.
What is your output in terminal for:
upower -i /org/freedesktop/UPower/devices/battery_BAT0
Further reading: