[Sports Watch] [API 6] How to set a sports watch to keep the screen on continuously?

Published: (December 22, 2025 at 01:48 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Question

How to set a sports watch to keep the screen on continuously?

Short Answer

onShow() {
    let that = this;
    // Set the screen to turn on every three minutes.
    that.setBrightnessKeepScreenOn();
    timer = setInterval(function () {
        console.log("Trigger the screen-on operation every 3 minutes.")
        that.setBrightnessKeepScreenOn();
    }, 3 * 60 * 1000);
},

setBrightnessKeepScreenOn() {
    brightness.setKeepScreenOn({
        keepScreenOn: true
    });
},
Back to Blog

Related posts

Read more »