[PATCH] Patch to solve issues with some hardware that causes battery to never update

Richard Hughes hughsient at gmail.com
Mon Jul 11 01:15:26 PDT 2011


On 10 July 2011 21:34, Mikael Hjelm <j_m_hjelm at hotmail.com> wrote:
> -          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);
> +        */
> +

You've just commented out the function. Surely finding the bug would
be the right thing to do?

Richard.


More information about the devkit-devel mailing list