Opened 8 years ago

Closed 7 years ago

Last modified 6 years ago

#891 closed defect (fixed)

backlight brightness don't survive reboot (phonefsod does not store changes in its config file)

Reported by: hafting Owned by: mrmoku
Priority: minor Milestone:
Component: SHR Image Version: SHR-unstable
Keywords: Cc:

Description

The brightness can be changed in shr-settings. The new setting seems to be remembered on suspend, and restored on resume. But put the phone on a charger, (or remove from charging), and the setting is lost. The phone instead reverts to the default, which is 80% now. The same seems to happen after a reboot.

It'd be nice if the new setting was remembered forever, surviving reboots and charging. It is irritiating when I set a suitable brightness for GPS navigation and night driving, and having to re-do this everytime a call comes in. (I must take the phone off the charger to answer it, and brightness is then reset.)

Change History (7)

comment:1 Changed 8 years ago by Heinervdm

  • Milestone set to MS1

comment:2 Changed 8 years ago by spaetz

  • Summary changed from backlight brightness setting survives suspend, but not charging or reboot to backlight brightness don't survive reboot (phonefsod does not store changes in its config file)

Agreed, this needs to be made persistent. There were 2 sides of this bug:

1) The defaults are saved by phonefsod, but shr-settings was still using the low-level FSO API. I just fixed shr-settings to make use of the phonefsod API.

2) The second problem is that phonefsod is supposed to save changed values in its config file, but it does not. SO the remaining part of this bug is about that.

comment:3 Changed 8 years ago by spaetz

  • Owner changed from ainulindale to mrmoku
  • Status changed from new to assigned

comment:4 Changed 8 years ago by mrmoku

  • Resolution set to fixed in unstable
  • Status changed from assigned to closed

2) is fixed now (with de3eab1df1682cb41abfd105bb6767fedfbbf7b4). Will hit the unstable feed with next rebuild

comment:5 Changed 7 years ago by jama

  • Resolution fixed in unstable deleted
  • Status changed from closed to reopened

comment:6 Changed 7 years ago by jama

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:7 Changed 6 years ago by morphis

  • Milestone MS1 deleted

Milestone MS1 deleted

Note: See TracTickets for help on using tickets.