10-22-2017 22:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-22-2017 22:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
Is there a way to keep the screen on while the app the running? I'm looking at making an app that you need to look at almost continuously. Right now by default, the screen turns off after a few seconds then I need to press the button...
Nicolas.
Answered! Go to the Best Answer.

Accepted Solutions
10-23-2017 05:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-23-2017 05:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I have been using this in my app:
import { display } from "display"; display.autoOff = false;
10-23-2017 00:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-23-2017 00:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
yes there is, but, the screen disables, for good reason - battery life.
if you visit the fitbit discord channel there has been discussion, and code, re keeping the screen on.
out of my own interest, i did a test with a watchface, and never reached 1 day. an app will likely be a different use case.
a feature suggestion could be to make the length (time) configurable via your fitbit profile eg 2/5/10/20 secs..

10-23-2017 05:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-23-2017 05:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I have been using this in my app:
import { display } from "display"; display.autoOff = false;
10-23-2017 11:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-23-2017 11:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks,
I'm looking at keeping the screen on for up to 2 hours not more so I would expect the battery life to be fine 🙂
In my case there is value in keeping the screen on all the time as the user is expected to keep looking at it.
Nicolas.

05-06-2019 12:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-06-2019 12:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
how do you insert this code in the app?
@agsurf5 wrote:I have been using this in my app:
import { display } from "display"; display.autoOff = false;
