The Gmail unread count I use in a widget ($uc(gmail)$) has randomly stopped refreshing. The same widget includes formulas for the date, time, and weather, and all refresh as expected. The only way I can get the Gmail unread count to temporarily work again is by clearing the KWGT cache, force stopping the app, then re-opening it. The Gmail unread count will work for a while, then it stops, and I have to repeat the process again.
I’ve confirmed that battery use is set to unrestricted for both KWGT and KUnread as well, but the issue still occurs.
Galaxy S24
Android 16 w/ One UI 8
Launcher: Smartlauncher 6.5 (build 47)
KWGT Version 3.80b522706
KUnread Version 1.1
I have the same issue. My widget checks 4 queues across 3 gmail accounts. I haven’t been clearing the cache, but killing Kwgt then starting allows the widget to work for a a while.
I’m doing it often enough to have explored how I could kill Kwgt without going through multiple steps in settings to reach it - didn’t find a way.
When I realised it had stopped I checked if any components had updated and Gmail had a few days before. It might have stopped at the same time and I just hadn’t noticed.
While investigating I came across the KUnread. I tried installing that and initially thought it had cured the issue but it hadn’t. Not wanting to add unknowns I uninstalled it again and went back to killing Kwgt.
I also uninstalled and installed Kwgt (wish I’d remembered to check I’d saved all recent widget tweaks beforehand ) and Gmail. Gmail only uninstalled updates.
Galaxy S24
Android 15 One UI 7
Nova Launcher 8.0.18
KWGT Version 3.80b522706
Gmail 2025.09.22.811856720.Release updated on 29 Sep
Reinstalling was the one troubleshooting step I was hesitant to take for the same exact reason. I hope it didn’t take you too much time to restore your widgets to your liking.
I’m running the same version of Gmail (Version 2025.09.22.811856720.Release) but I’m fairly sure I began experiencing this issue before I installed this update. I was aware of it - because I remember being very annoyed by it - but I was too busy to address it.
As a (hopefully) temporary workaround, I’m using Tasker and Gmail APIs to get the unread count from my Inbox and push it to KWGT. There’s probably a way to kill KWGT using Tasker if you want to go that route. It’s not ideal, but a possibility.
I did look at trying to kill with Tasker but I think it needs a rooted phone or at least an adb nudge.
I hadn’t thought of the softer Gmail API route so might try that but since posting I checked on APKmirror and there’s a few later versions of Gmail so might wait and see if they’re bug fixes.
I also noticed on APKmirror that Gmail really grew over the last few releases from 93.4 on Sep23 to the version we have 167MB. Somethings afoot
Also in the meantime I saw a suggestion to set battery usage to unrestricted. That was my setting for KWGT already. Then I looked at KUnread, and it was not set for that. I changed it, and maybe it is working. Time will tell..
The profiles will trigger the task when a Gmail notification is received or when Gmail is opened or closed. If you’ve never setup HTTP Auth in Tasker, don’t forget to set the redirect URI of your API to https: // tasker[dot] joaoapps[dot]com/auth.html . (Sorry I had to butcher the link. I can only post two links per post.)
I usually have to re-authenticate once per week. I’m not by any means programmer, so there’s likely a better way of doing this, but this has worked well enough for me.
If the direct $uc(gmail)$ isn’t updating for you, try switching to $ni(pcount, com.google.android.gm)$. It counts the actual notifications in your status bar instead of pinging the Gmail app itself. It’s way more reactive and usually solves the ‘stuck count’ issue immediately!