Re: [gpm] Intermittent problem with battery discharge detection
- From: Richard Hughes <hughsient gmail com>
- To: Brian Hutsell <bhut_ooto yahoo com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] Intermittent problem with battery discharge detection
- Date: Wed, 23 Jun 2010 10:22:38 +0100
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]