So recently I've started to get this problem that the laptop dies even when the battery indicator says there is something like 40% left, i.e. I never get a low battery warning. Then when I plug it in and restart it also says the battery is at something like 40%. The laptop is about five years old.
Is it possible to recalibrate the battery indicator so I would get a warning when it is about to die?