#2431 NORM Untriag: Suspend looses current brightness.

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 24 16:12:40 EDT 2007


#2431: Suspend looses current brightness.
---------------------+------------------------------------------------------
  Reporter:  warp    |       Owner:  jg       
      Type:  defect  |      Status:  new      
  Priority:  normal  |   Milestone:  Untriaged
 Component:  distro  |     Version:           
Resolution:          |    Keywords:           
  Verified:  0       |  
---------------------+------------------------------------------------------
Comment (by warp):

 Right, this is quite potentially an OHM bug.  It's 'dimming' function on
 removal/adding the AC adaptor is also buggy.

 Specificly, it sets the brightness to a preset value when unplugged, and
 when plugged back in.

 If you've set the brightness lower, then unplugging the AC adaptor
 actually brightens things instead of dimming them.  Even to the point of
 turning the display back on.

 Rough guess at actually proper behavior:

 On suspend/unplug first: Store the current brightness value.

 On suspend: Turn off the display if we decide to go that way.

 On resume: Restore to stored value.

 On unplug: Subtract a given amount from the brightness, never going to 0.
 Alternatively, if it is below the preset unplugged brightness, do nothing.

 On plug back in: Restore to stored value.

 I'm not sure whe should decide on the unplug behavior, but.

-- 
Ticket URL: <http://dev.laptop.org/ticket/2431#comment:2>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list