Turning off all low and critical battery alarm actions and running until the laptop quits can help, as sometimes the battery electronics can report a low battery state to the laptop when there is still plenty of charge in the battery.
By running it truly flat and recharging, you get a genuine full cycle, which can help, and the battery's internal status monitor may realign itself with the true battery state.
My HP was reporting battery low after 30 mins, critical (and going to standby as set in alarm actions) about 2 mins later, but ran for a further hour once I switched the standby action off. The battery was fine cell wise, but confused electronically. After a few full cycles to completely dead then recharged, it's now much better.