Battery Usage#
Some posts and store pages say that KWGT, KLWP or KLCK drain the battery. This page lists the things people say, checks each one against how Kustom really works, and shows what you can do to keep battery use low. Where a claim is true, this page says so.
Short answer#
Kustom uses battery when it draws. How often it draws depends on your preset and on a few settings. A preset that changes once a minute needs very little. A preset that changes every second, or that animates all the time, needs more. This is the same for any app that draws on your home screen.
The numbers on this page are counts of draws and updates, taken from how the apps work. There are no battery percentages here, because they depend on the phone, the screen and the preset.
How Kustom decides when to draw#
Kustom reads every formula and option in your preset and notes which data it needs: seconds, minutes, battery, location, weather, music and so on. An item is updated only when data that it uses has changed. A text that shows hours and minutes is not touched when only the seconds change.
KWGT
- Screen off: widgets are not redrawn. The exceptions are one draw when the screen turns off and at most one catch up draw per hour.
- Screen on, with the default “Update mode”: widgets are redrawn on the minute tick, when data that they use changes, and every 5 seconds while music is playing if the widget shows the music progress. That is up to 60 planned draws per hour. Changes that happen every second are ignored. Updates that arrive close together are grouped, so normal draws are 2 to 5 seconds apart.
- When Android is in power save mode the default mode slows down by itself.
- All your widgets are drawn together, so KWGT does not wake up once for each widget.
- Android does not tell a widget if you can really see it. For KWGT “visible” means “screen on”, so the minute tick goes on while you use other apps.
KLWP
- Android tells a live wallpaper when it is hidden. When another app is in front, or the screen is off, KLWP stops drawing. It also stops the gyroscope and the music visualizer.
- While the wallpaper is visible, KLWP checks for changes once per second and updates only the items that changed.
- It draws at full speed only while an animation is running, while an animated GIF is playing or while you scroll. With the default “Refresh Rate” full speed is up to 60 frames per second.
- If you set “Notification Mode” to Force, KLWP also wakes up once per minute while the screen is on, to keep its notification up to date.
KLCK
- KLCK draws only while its lock screen is on the screen: once per second, or 50 times per second while an animation is running.
- It can turn the screen on when a new notification arrives (only if the preset shows notifications) and when you plug or unplug the charger.
In the background
- Location: Kustom asks for your position only when location is set to automatic. While Kustom is visible and the preset uses location, weather or air quality, it asks for a low power position every 1 to 10 minutes. In all other cases it takes at most one position per hour, and the Google Play version then only receives positions that other apps already asked for.
- Weather: it is downloaded again only when the saved data is older than the “Network Refresh” setting, or when you moved far from the place of the last update. The default is 2 hours, about 12 downloads per day.
- Notifications: if you gave Kustom access to notifications, Android calls Kustom when a notification appears or goes away. Kustom does not keep checking for them.
- Flows: they have no timer of their own. A flow starts manually, once, on a schedule (checked on the minute tick) or when the result of a formula changes.
- Keep alive: KWGT and KLCK schedule a small job every 15 minutes that starts the service again if Android stopped it.
- Wake locks: the Kustom code does not hold wake locks to keep the phone awake. The only one is in KLCK, it lasts half a second and is used to turn the screen on.
What people say#
“A widget made with Kustom always uses more battery than a normal widget”
Overstated. Any widget costs battery when its app has to wake up and draw it again. What matters is how often this happens and how heavy the drawing is, not which app made the widget. With the default settings KWGT redraws on the minute tick while the screen is on, and does not redraw while it is off. A widget built for one fixed job can do a bit less work for the same picture, because it does not need to read formulas. That is the price of being able to design anything you want. How big the difference is depends on your preset, and the tips below let you control it.
“KWGT runs all the time, also when the screen is off”
False with the default settings. The service stays in memory so that widgets can update fast, but staying in memory is not the same as working. With the screen off KWGT does not redraw. It does only if you turn on “Update when Screen Off”, which is off by default and is normally not needed.
“KWGT keeps updating while I use other apps”
True, and there is a fix. A widget cannot know if it is covered by another app, so KWGT keeps its minute tick while the screen is on. If you want less, set “Update mode” to Conservative.
“Widgets that update every second drain the battery”
True, and there is a fix. The Fast update mode redraws every second while the screen is on, also when another app is in front. That is up to 3600 draws per hour, 60 times more than the default mode. The app itself warns that this mode uses a lot of battery. Use it for tests only. The Smart mode does the same while the phone is charging. The Default and Conservative modes do not plan updates every second.
“More widgets means more battery”
Overstated. All widgets are drawn in the same pass, so the number of wake ups stays the same. Each widget still has to be drawn, so many complex widgets cost more for every update than one simple widget.
“A live wallpaper runs all the time, so KLWP drains the battery”
False. KLWP stops when the wallpaper is hidden or the screen is off. While it is visible, the cost depends on the preset, see the next point.
“Animations, GIFs and the visualizer in KLWP use a lot of battery”
True, and there is a fix. While a loop animation, an animated GIF or the music visualizer is on screen, KLWP has to draw every frame, up to 60 per second with the default “Refresh Rate”. A formula that changes every second on a very big item makes KLWP redraw that item every second. A preset without these things is redrawn only when something changes. Animated GIFs are hidden in the editor for this reason, see Animated GIF Support.
“KLCK wakes my screen”
True, and there is a fix. If your preset shows notifications, KLCK turns the screen on when a new one arrives. Check “Disable wake on notifications” in the settings to stop this.
“The fixed notification means that Kustom is always working”
False. Android stops the background service of an app that does not show a notification. The notification keeps the service alive so your clock stays right. It does not mean that Kustom is busy. KLWP does not need it because it is a live wallpaper. See Persistent Notification.
“Removing Kustom from battery optimization makes it use more battery”
False. Kustom does the same work with or without this setting. It reads the setting only to know if it has to show the fixed notification. Removing Kustom from battery optimization only stops Android from killing the service, which is what makes widgets stop updating. See How to whitelist Kustom from Battery Optimization.
“Weather and location keep the GPS on”
Overstated. Kustom asks for a low power position every 1 to 10 minutes, so 6 to 60 times per hour, only while it is visible and only if the preset uses location, weather or air quality. Older versions of the app had a “Location Accuracy” setting. If you chose High Accuracy there, Kustom asks every 1 to 10 seconds instead, and this uses a lot more battery. A fixed place instead of automatic location stops all position requests.
“Notification access drains the battery”
False. Kustom does not keep checking your notifications. Android tells Kustom when one appears or goes away, and Kustom updates the items that show them.
“Flows keep the phone awake”
False. Flows run only when their trigger fires and they are checked together with the normal updates. A flow that you set to run every minute and that downloads something every time does cost battery, so choose the schedule with care.
How to keep battery use low#
- KWGT: keep “Update mode” on Default or Conservative. Do not use Fast every day. Leave “Update when Screen Off” off. The setting is in the app settings under “Advanced Options”.
- Do not show seconds if you do not need them. In KLWP and KLCK these formulas make the item update every second while it is visible: df with seconds in the format, tf without a format or with seconds, rm and the current speed from ts.
- Keep the items that update every second small. See Designer Tips.
- KLWP and KLCK: use loop animations, animated GIFs and the visualizer only where you really want them. Animations that follow scroll or touch draw only while something moves.
- KLWP: set “Refresh Rate” to Slower if your preset animates a lot. It draws up to 30 frames per second instead of 60.
- Location: if you do not travel, set a fixed place instead of automatic location, then Kustom does not ask for your position at all.
- Network: keep “Network Refresh” at 2 hours or more.
- KLCK: check “Disable wake on notifications” if the screen turns on too often.
- Remove Kustom from battery optimization instead of letting Android kill and restart it. Every restart has to load your presets again. If a widget looks stuck see KWGT widget not updating or delayed.
How to check your own usage#
The editor is different from the widget, wallpaper or lock screen. While you edit, the screen is on, Kustom is the app in front and it draws the preview again as you work, so a day with a lot of editing shows a high number in the Android battery screen. Look at the number on a day when you did not open the editor.
If the number is still high, look for the things listed above: Fast update mode, “Update when Screen Off”, items that update every second, loop animations, GIFs, the visualizer and automatic location. Change one of them at a time and check again the next day.