[Switch] Battery level not displayed in top menu bar when discharging
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Is there an existing issue for this?
- This is a bug in RetroArch frontend
- I have searched the existing issues
Description
On Nintendo Switch, for some reason, the console's battery level is only displayed at the top menu bar (next to the date and time) when the console is charging. When the console is not charging, the battery display is gone completely, even if the "Show Battery Level" setting is enabled.
The correct battery level is always calculated and shown in System Information, the issue just impacts how it is displayed in menus. All four menu drivers (ozone, rgui, xmb, and glui) are affected.
Expected behavior
The battery level should be displayed at all times.
Steps to reproduce the bug
- Open RetroArch while the console is not charging.
- See that the battery level is not displayed.
- Plug in the console to a power source and wait a minute.
- See that the battery level is displayed now.
- Unplug the console, wait, and see that the battery level is gone again.
Version/Commit
1.22.2 (nightly 2025-12-22)
Bisect Results
No response
Present in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
Nintendo Switch (Horizon OS 21.1.0)
Affected Cores
No response
Environment information
Atmosphere 1.10.1
emuMMC
Relevant log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Nintendo Switch while charging and discharging, with “Show Battery Level” enabled. Inspect how battery information is displayed in the ozone, rgui, xmb, and glui menu drivers, using System Information as the known-working comparison. Done means the battery level remains visible in the top menu bar while discharging in all four drivers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100