I have tested this on a Aspire one which is heavily affected by hardware 
issues.For further info on the issues it solves please see 
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/467825
Best Regards/Mikael Hjelm
/upower$ git diff diff --git a/src/linux/up-device-supply.c 
b/src/linux/up-device-supply.cindex 600fc27..b6aaf9a 100644--- 
a/src/linux/up-device-supply.c+++ b/src/linux/up-device-supply.c@@ -544,8 
+544,12 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply)        }   
      /* only disable the polling if the kernel tells us we're fully charged,-  
        not if we've guessed the state to be fully charged */-       
supply->priv->enable_poll = (state != UP_DEVICE_STATE_FULLY_CHARGED);+          
not if we've guessed the state to be fully charged. This function +          
has been disabled since some battery hardware/drivers are very +          late 
to report discharging and does not interrupt on state change+       */+       
/*supply->priv->enable_poll = (state != UP_DEVICE_STATE_FULLY_CHARGED);+        
 /* reset unknown counter */        if (state != UP_DEVICE_STATE_UNKNOWN) {
                                          
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to