Skip to content
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

Nokia: Add more information about disabling DuraSpeed #144

Merged
merged 3 commits into from Jan 14, 2020
Merged

Nokia: Add more information about disabling DuraSpeed #144

merged 3 commits into from Jan 14, 2020

Conversation

YoRyan
Copy link
Contributor

@YoRyan YoRyan commented Dec 30, 2019

Currently, the Nokia 3.1/5.1 documentation does not communicate the need for an automation app, which is necessary because it turns out the setting to disable DuraSpeed does not persist across reboots. Building off of the text I originally proposed in #57, this PR incorporates the macros we shared with each other and fixes #60 and fixes #98.

@Artaud
Copy link
Collaborator

Artaud commented Jan 14, 2020

This looks great. Thanks a lot!

@Artaud Artaud merged commit 4227cd8 into urbandroid-team:master Jan 14, 2020
@Frauschlau
Copy link

Good day,

First, HUGE thanks for all the detailed explanations and pinpointing the issues.

I hope I am not doing anything wrong, but disabling DuraSpeed has not done the trick - I still get no notifications while the phone is locked. I have to unlock it to see all notifications flooding in (just tapping the phone to wake up the screen is not enough). Kinda annoying and frequently useless - especially with apps whose notifications are super important to me (think remote monitoring and house alarm). The only things I get in real time are texts and - of course - phone calls.

Fast forward a few months - I bought a Google Pixel with Android 10. I checked DontKillMyApp, I noticed it mentions that there are no problems and I "just" need to disable battery optimization for the apps whose notifications I want to see in real time. That does not work - I still get the same issues on the Google phone as I do on the Nokia 5.1: notifications for everything but texts stop arriving within minutes of the screen going blank.

The solution that works on both the Nokia and the Pixel phones: run adb shell dumpsys deviceidle disable after every boot - this disables the doze functionality that seems to trump everything. All notifications are now in real time, on both phones. I just wish there were a way to automate this, so I did not have to plug the phone into a PC every time I reboot it.

Allegedly, disabling doze permanently used to be available in developer option menus, but I do not see it in Android 7, 9, or 10.

If anyone knows a better way, if I am missing something, if the above command can be automated without the need to root the phone - please by all means share.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document the nokia duraspeed behavior at phone restart and automation Nokia 5.1
3 participants