Ticket #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
comment:2 Changed 3 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 3 years ago by spaetz
- Owner changed from ainulindale to mrmoku
- Status changed from new to assigned
comment:4 Changed 3 years ago by mrmoku
- Status changed from assigned to closed
- Resolution set to fixed in unstable
2) is fixed now (with de3eab1df1682cb41abfd105bb6767fedfbbf7b4). Will hit the unstable feed with next rebuild
comment:5 Changed 2 years ago by jama
- Status changed from closed to reopened
- Resolution fixed in unstable deleted
