question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Keep screen active (Android)

See original GitHub issue

Hi, fine feature I thought of randomly: Keep the phone screen from automatically turning off while in the shopping mode. Probably with a global setting for users to turn this off/on. Basic behaviour: open a note > click shopping mode > screen stays turned on until turned off manually or the shopping mode gets turned off or the app gets minimized. I found myself in the need of this feature while shopping, since my screen is set to turn off after like 15 seconds. No clue how difficult it is to implement. Would this be something of interest?

Cheers, Jakub

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jakub-svejdacommented, Jun 25, 2022

Had a look at the code and tried it on android and it looks really good! 🙂

0reactions
martinstoecklicommented, Jul 5, 2022

Just published version 7.0.0 which implements this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keep the device awake
If you need to keep the CPU running in order to complete some work before the device goes to sleep, you can use...
Read more >
How to keep your Android screen on for longer
To keep your Android screen on for longer, go to your device's Settings menu, select the Display settings, and find the Sleep or...
Read more >
How do I keep the screen on in my App? - android
Adding android:keepScreenOn="true" in the XML of the activity(s) you want to keep the screen on is the best option.
Read more >
Screen Alive - keep screen on - Apps on Google Play
This app requires your permission to make changes to system settings. It provides an option to customize the screen lock timeout. Based on...
Read more >
[feature]stay awake · Issue #631 · Genymobile/scrcpy
I use that to keep the screen on with scrcpy? Wow, thats awesome! It works great! It still require's an extra user action...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found