PINE64
Wake on touch on Plamo - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Wake on touch on Plamo (/showthread.php?tid=14381)



Wake on touch on Plamo - ryo - 07-07-2021

What really bugs me a lot is the wake on touch feature on every device it comes with, 99% of the time it wakes on touch by accident, leaving the screen on while sucking the battery dry like a vampire.
So is there a way to turn that off for Plamo?


RE: Wake on touch on Plamo - ryo - 07-11-2021

Nobody yet?


RE: Wake on touch on Plamo - ryo - 07-18-2021

.....


RE: Wake on touch on Plamo - swiley - 07-18-2021

You could do this but you'll have to modify the service managing the phone locking/sleeping yourself. The touch device should show up in /dev/input. If you want to suspend the phone (not suck up the battery like a vampire) you'll need to set up an interrupt from the touch screen as a wakeup source, I'm not sure if that's possible.

Note that the most recent kernel disables the touch screen during sleep, I don't know if that's possible to configure via userpsace.


RE: Wake on touch on Plamo - ryo - 08-19-2021

(07-18-2021, 09:34 AM)swiley Wrote: You could do this but you'll have to modify the service managing the phone locking/sleeping yourself. The touch device should show up in /dev/input. If you want to suspend the phone (not suck up the battery like a vampire) you'll need to set up an interrupt from the touch screen as a wakeup source, I'm not sure if that's possible.

Note that the most recent kernel disables the touch screen during sleep, I don't know if that's possible to configure via userpsace.
I have the most recent kernel installed, and it's still sucking the battery dry way too quickly.
I switched back to Phosh for the time being.
Battery consumption is far worse on Phosh, can't even survive 2 hours of sleep without keeping it hooked into a charger forever.
But at least it doesn't have this wake on touch problem, so you much explicitely press one of the hardware buttons to make it wake up.