#10034 HIGH 1.5-sof: Screen should not dim before the laptop suspends
Zarro Boogs per Child
bugtracker at laptop.org
Wed Feb 24 14:55:18 EST 2010
#10034: Screen should not dim before the laptop suspends
-------------------------------------------+--------------------------------
Reporter: wad | Owner: cjb
Type: defect | Status: new
Priority: high | Milestone: 1.5-software-update
Component: power manager (OHM) | Version: Development build as of this date
Resolution: | Keywords:
Next_action: design | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
-------------------------------------------+--------------------------------
Changes (by pgf):
* cc: mikus (added)
Comment:
per #10036, we're in the process of moving from ohmd to powerd. powerd
has somewhat more flexible control over all of these timers, making it
easy to switch to sleep-before-dim behavior. in addition, powerd can also
behave differently when the laptop is on external power or not, and also
when in ebook mode or not.
if i had to guess, i'd guess that when mikus is doing a long download, the
laptop is probably on external power. and when wad is most concerned
about sleeping right away, the laptop is on battery. so, for example,
powerd could sleep quickly, and dim a minute or two later (long enough to
read an ebook page) when on battery, and could dim after a minute (as a
warning) before going to sleep a bit later when on external power.
this would be a big change from the current ohmd behavior, however --
currently our power policy is identical no matter what the operating or
charging mode, and that's not a bad thing.
powerd also has more fine-grained suspend-inhibit control. so another
partial fix for mikus' case would be to write a wrapper script which
inhibits suspend for the duration of anything that it wraps, i.e. "olpc-
nosleep wget http://my.favorite.com/..." or "olpc-nosleep yum install
emacs"
--
Ticket URL: <http://dev.laptop.org/ticket/10034#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list