Ticket #326 (closed enhancement: upstream)
Wake up from suspend on shaking?
| Reported by: | spaetz | Owned by: | spaetz |
|---|---|---|---|
| Priority: | trivial | Milestone: | wishlist |
| Component: | SHR Image | Version: | SHR-unstable |
| Keywords: | Cc: |
Description
We might want to consider an option in SHR that allows for more creative wakeup from suspend like this one:
> I want my FR to autosuspend when it lies display-down on a flat surface and > wakeup when shaken. > > All these nice ideas are pending working resume on accellerometer action (with > configurable wakeup-threshold). What's the current status for that? Do a find /sys -name wakeup_threshold and wakeup_duration, these are the guys that enable it.
(Above snippet for reference on how to do it). I certainly wouldn't want this enabled all the time (e.g. not on auto-suspend), but on some situations. Anyway, let's think about it and close if not appropriate.
Change History
comment:2 Changed 4 years ago by TAsn
That's a bad idea, because trying to figure out if the moko is shaking will drain battery and therefore will void the greatest value of suspend, low battery consumption.
comment:3 Changed 4 years ago by dos
That's why we don't want to use it by default. But as option - it's good. But... what do you think about closing it as upstream?
comment:4 Changed 4 years ago by spaetz
I don't think this would/will be implemented upstream. This is possible now and would have to be done at the SHR level, I think. Also I agree that this should not be the default, but an option. It would make a cool showcase for what can be done with the FR that can't be done with a different phone.
Anyway, i just wanted to keep these sysfs entries as a reference, feel free to close if you think we shouldn't implement it.
comment:5 Changed 4 years ago by dos
I'm pretty sure mickeyl said on maillist, that it will be implemented in FSO ;)
comment:6 Changed 4 years ago by dos
- Status changed from new to closed
- Resolution set to upstream
spaetz: Mickey just said: "One of the things I want to implement for FSO milestone6 is auto-suspend when the phone is lying up-side-down on a table with auto-wakeup when you give it a whack." ;) So closing as upstream.

It probably will be implemented in FSO.