Re: [gpm] Intermittent problem with battery discharge detection



On 21 May 2010 17:14, Brian Hutsell <bhut_ooto yahoo com> wrote:
> I noticed the following code in upower/src/linux/up-device-supply.c:
>        /* 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);

Sorry for the delay. If you change the value of
UP_DAEMON_POLL_BATTERY_NUMBER_TIMES to something like 30 in
dkp-daemon.c, does this mitigate the problem?

Richard.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]