Reply
Thread Tools
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#31
still working in (2). i cant figure out a way cause read() to actually wake up when theres input from the device.

anyone know a way to magically bless a process, or file on the filesystem, or something, that will prevent or interrupt deep sleep?
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#32
so i decided to just run `keepalive-tool sf-button-monitor` to never let the phone deep sleep, ever.
my battery usage for a full day used to be 100%=>72%, and now its 100%=>61%. this is easily worth it, to have the button actions always work without unlocking the phone first. i had not realized how LITTLE deep sleep was actually doing for me.
__________________
~ teleshoes ~
 

The Following 2 Users Say Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#33
3 months of keepalive-tool running constantly, and my battery hasnt died once.
(the volume buttons just always work, locked or unlocked, like on the N9)
__________________
~ teleshoes ~
 

The Following 4 Users Say Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#34
added repeated-commands

e.g.:
action=repeat(500, brightness +1),ch-press vu-press,always
=> hold camera-half and volume-up to have brightness incrementally increase
(where `brightness` is a script you write)
__________________
~ teleshoes ~
 

The Following 2 Users Say Thank You to wolke For This Useful Post:
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#35
i get error loop on line 264 and 268, read on closed filehandle, use of uninitialized value $buttonId...
__________________
MOD-Package: http://talk.maemo.org/showthread.php?t=42415
 

The Following User Says Thank You to mankir For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#36
updated for Xperia 10 III

added support for power button and "google assist" (camera) button.

power button also works now on Xperia XZ2 Compact, and maybe others (but not Xperia X or Xperia X Compact)

(power button still of course also always locks/unlocks the phone, so this is maybe not that useful)
__________________
~ teleshoes ~
 

The Following 3 Users Say Thank You to wolke For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:00.