How do I make Linux calculate the time remaining for the battery using its own measurements rather than the power draw reported by the system? My laptop's BIOS has a bug in it where it will randomly report extremely low power draw, like 0.0003mW. This translates to the battery indicator showing 100+ hours remaining, which simply isn't true.

However, it seems like the battery percentage decreases normally while this is happening, so at least the battery capacity measurements are correct.

How do I make Linux report time remaining based on its own measurements rather than what the BIOS reports as the power draw? 

I'm using Linux Mint, if that makes any difference, but this bug is universal to all DE's, distros, and operating systems I've tried. (Yes, this happens in Windows too)

Also, it looks like the actual average time for my battery is 3.5 hours, at least according to the Windows battery report. 