I created an analog clock component and used it to make a KWGT widget. Everything looks fine in the editor, but on the home screen, the second hand only moves in 5- or 30-second jumps. How can I fix this?
If you create a text element with the formula $df(s)$, does the issue still happen? I’m asking just to make sure everything is fine inside your component. If all the settings are correct, KWGT is unrestricted, and the second hand still jumps, then it’s most likely something on the level of your OS or Android itself.
But honestly, KWGT isn’t designed for this kind of task check the time settings, there’s no function for smooth second‑hand rotation. Imagine the widget having to update and redraw itself 60 times per second. For things like that, it’s better to use KLWP your seconds will move smoothly there.
The problem is almost certainly down to system permissions. Check the following:
Make sure your battery settings for KLWP are set to Unrestricted.
As a simple test, just add a default time text element in KLWP by default, it includes hours, minutes, and seconds, which will show us if the global ticker is working.
If you want, share your component here and I’ll take a look at it to see how it’s built.
Hello, I made a surprising discovery this morning. My KWGT widget—based on my own component—works perfectly while the phone is charging. However, as soon as I unplug the charger, the second hand starts stuttering again, even with the battery level above 90%. What do you think?
That actually makes total sense and confirms it’s a system-level restriction. When your phone is plugged in, Android disables aggressive power-saving policies, allowing the app to render smoothly. But as soon as you unplug it, the OS enforces its strict background limitations again.
Since you’ve already set everything to unrestricted, there’s unfortunately nothing more you can tweak inside the app settings. It’s quite possible that on Android 17 and specific Google Pixel models, the system has even harsher restrictions built-in. I honestly wouldn’t know for sure, because I’m still running Android 15 where everything flies smoothly, and looking at how Google keeps tightening the screws with every new release, I’m not even sure I want to update
I tried to create a simple clock widget using the latest version of KWGT. It looks fine, no lag/delay in the clock’s Second arm movement ONLY if the Update Mode is set to every second (with the cost of battery juice).
Below is an animated GIF image showing the effects of the Update Mode setting in KWGT.
So, I think there’s something that cause your issue, either one of those that was explained by @MaxP above.