<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I have tested this on a Aspire one which is heavily affected by hardware issues.<div>For further info on the issues it solves please see https://bugs.launchpad.net/ubuntu/+source/upower/+bug/467825</div><div><br></div><div>Best Regards</div><div>/Mikael Hjelm</div><div><br><div><div>/upower$ git diff </div><div>diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c</div><div>index 600fc27..b6aaf9a 100644</div><div>--- a/src/linux/up-device-supply.c</div><div>+++ b/src/linux/up-device-supply.c</div><div>@@ -544,8 +544,12 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply)</div><div> }</div><div> </div><div> /* only disable the polling if the kernel tells us we're fully charged,</div><div>- not if we've guessed the state to be fully charged */</div><div>- supply->priv->enable_poll = (state != UP_DEVICE_STATE_FULLY_CHARGED);</div><div>+ not if we've guessed the state to be fully charged. This function </div><div>+ has been disabled since some battery hardware/drivers are very </div><div>+ late to report discharging and does not interrupt on state change</div><div>+ */</div><div>+ /*supply->priv->enable_poll = (state != UP_DEVICE_STATE_FULLY_CHARGED);</div><div>+</div><div> </div><div> /* reset unknown counter */</div><div> if (state != UP_DEVICE_STATE_UNKNOWN) {</div></div><div><br></div></div>                                            </div></body>
</html>