-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pinephone does not stay awake in navigation mode. #60
Comments
I don't know of any mechanism that allows us to prohibit programmatically sleep on this OS. For instance I implemented that only for Android OS. In Android I had to code a call using JNI.
I haven't any device on Pinphone, and so cannot test. But first we have to find the way to do that on this OS. |
Having a look in the python script |
See link https://www.freedesktop.org/wiki/Software/systemd/inhibit/ |
Validated with freedesktop/gnome (Ubuntu 22.04)
Seems to be working fine now on my system (see above) |
I checked the operation in navigation mode: cross hairs turned blue, no route set, and the Pinephone continues to go to sleep.
Pinephone 1.2
Linux 6.4.7
PostmarketOS v28
{sleep-inhibitor} /usr/bin/python3 /usr/bin/sleep-inhibitor
The text was updated successfully, but these errors were encountered: