#8010 HIGH 8.2.1: joyride-2301: My Battery (status in frame) fails to update after auto-suspend.
Zarro Boogs per Child
bugtracker at laptop.org
Thu Aug 21 08:06:48 EDT 2008
#8010: joyride-2301: My Battery (status in frame) fails to update after auto-
suspend.
----------------------------+-----------------------------------------------
Reporter: thomaswamm | Owner: cjb
Type: defect | Status: new
Priority: high | Milestone: 8.2.1
Component: not assigned | Version: Development build as of this date
Resolution: | Keywords: blocks-:8.2.0
Next_action: reproduce | Verified: 0
Blockedby: | Blocking:
----------------------------+-----------------------------------------------
Comment(by pgf):
some raw data, captured with joyride-2294 (will upgrade today):
immediately after powerup, all wakeup events are enabled:
{{{
$ grep ^ /sys/power/wakeup_events/*
/sys/power/wakeup_events/ac_power:1
/sys/power/wakeup_events/battery_error:1
/sys/power/wakeup_events/battery_soc:1
/sys/power/wakeup_events/battery_state:1
/sys/power/wakeup_events/ebook_mode_change:1
/sys/power/wakeup_events/ps2event:1
/sys/power/wakeup_events/wlan:1
}}}
immediately after a power button suspend, or a lid close/open suspend, all
events are still enabled.
after an auto-suspend, the A/C and battery SOC events are disabled:
{{{
$ grep ^ /sys/power/wakeup_events/*
/sys/power/wakeup_events/ac_power:0
/sys/power/wakeup_events/battery_error:1
/sys/power/wakeup_events/battery_soc:0
/sys/power/wakeup_events/battery_state:1
/sys/power/wakeup_events/ebook_mode_change:1
/sys/power/wakeup_events/ps2event:1
/sys/power/wakeup_events/wlan:1
}}}
the correct states for these events (enabled) are restored after a power
button suspend/resume cycle.
when the event mask is incorrect, a lid close/open during a subsequent
autosuspend does _not_ fix it, but a lid close/open while _not_ suspended
does.
while auto-suspended, inserting A/C will still cause a wakeup. this
implies the mask is being corrupted during the resume.
--
Ticket URL: <http://dev.laptop.org/ticket/8010#comment:13>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list