Ticket #113 (new enhancement)
Enable seperate profiles for screen dimming, locking, suspend, depending on power source.
| Reported by: | mattt | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | framework/general | Version: | |
| Keywords: | power idle | Cc: |
Description (last modified by mickey) (diff)
It would be desirable to have different settings when the device is powered by battery, or by usb.
/etc/frameworkd.conf [odeviced.idlenotifier] # add inut nodes to ignore for idle activity ignoreinput = 2,3,4 # configure timeouts (in seconds) here. A value of 0 # means 'never fall into this state' (except programatically) idle = 10 idle_dim = 30 idle_prelock = 10 lock = 1 suspend = 0
Change History
comment:1 Changed 3 years ago by jluebbe
- Component changed from framework/odeviced to framework/general
comment:2 Changed 3 years ago by anonymous
Please consider extending this to allow more than just On Battery/On? Power. Power profiles based on conditions such as : *Battery% *Battery drain rate *GPS radio state *WIFI state *any other true/false test
Ultimately I'd like to see this as part of a overarching phone profile strategy as discussed here :
[1] http://lists.openmoko.org/nabble.html#nabble-f1958 [2] http://lists.openmoko.org/nabble.html#nabble-tt661947|a661947
If this is too ambitious, please consider at least three profiles Low/Normal/OnCharge?.
Thank you for your efforts.
comment:3 Changed 3 years ago by mickey
- Description modified (diff)
I have now added a CPU and a Display resource. This should at least allow you to write an oeventsd rule so that the device no longer dims and/or autosuspends if you're on AC. Will that help a bit?
comment:4 Changed 3 years ago by stefan
Mattt, does the CPU and display resource helps you? Are there still other open isues for your use case?
comment:6 Changed 2 years ago by sim
decoration Changed 1 year ago by admin
bathtub Changed 1 year ago by admin
solar system Changed 1 year ago by admin
stair parts Changed 1 year ago by admin
solar supply Changed 1 year ago by admin

This will be handled by oeventsd and opreferencesd