<div dir="ltr"><div><div><div><br></div>Hello,<br></div><div><br></div>First off I'm sorry if this is not clear, but it's a little hard to explain!<br><br>I have a very dodgy batter in my laptop that sometimes likes to lie about how much energy it's currently containing, or what it's charge_full and charge_full_design are. It only does this briefly, for a split second or so, but it's enough to mess up upower, which will start reporting 3% charge remaining, 5 hours left on a full battery (energy-full ends up really high for no reason, e.g. instead of 48Wh, it'll be 780Wh). The way to correct this is for me to kill upowerd and restart it, which is a pain.<br>
<br>So I've patched the upowerd source to reread charge_full and charge_full_design each time the battery status is refreshed. I'm not sure what the implications of this are, but I imagine it's not that big of a deal, and it fixes my issue!<br>
<br></div><div>Anyway I thought I'd do the honourable thing and send the patch on to yourselves, just because. I hope it's useful, if not it fixes my little problem!<br><br>Thanks,<br></div><div>Mark<br></div></div>