RTMON is an Android home-screen widget that shows live CPU, RAM, battery and network stats with small line graphs and a retro LED dot-matrix font.
RTMON puts a compact system monitor on your home screen. You can see at a glance how busy your phone is, how much memory is in use, how much charge is left and how fast data is moving, without opening an app.
It is built for people who like to keep an eye on their device, and for anyone who wants a monitor that looks like an old LED panel. Every number comes from a real reading. When a value cannot be measured, the widget shows -- instead of guessing.
The app itself is tiny. It exists only to help you add the widget and to grant the permission that allows a 3-second refresh. Everything else happens in the widget.
- Four live stats: CPU, RAM, battery charge and network speed, each with its own readout and graph.
- 60-second history graphs: Each stat has a line graph with a filled area under it. Colors are fixed per stat: CPU red, RAM green, battery blue, network amber.
- LED dot-matrix look: Labels and values use a bundled LED dot-matrix font.
- Light and dark themes: The widget background, graph background and grid follow the system theme.
- 3-second refresh: The widget updates every 3 seconds while the screen is on.
- Battery friendly: Updates pause while the screen is off. The refresh timer never wakes a sleeping device.
- Honest values: Missing or unmeasurable readings show
-- rather than a made-up number.
- Resizable: The widget defaults to a 3 by 3 cell size and can be resized horizontally and vertically.
- Companion screen: One tap to add the widget, and one tap to allow the 3-second refresh when needed.
- Download
app-release.apk from the latest release.
- Copy it to your Android device and open it.
- Allow installs from unknown sources if Android asks.
- Add the widget to your home screen (see Usage).
If you installed an early debug-signed build, uninstall it before installing a newer release. Newer releases are signed with a different key, and Android refuses updates signed with a different key.
You need Android Studio (with the Android SDK) and JDK 17.
git clone https://github.com/n1th1n-19/RTMON.git
cd RTMON/android
./gradlew assembleRelease
The APK is written to android/app/build/outputs/apk/release/app-release.apk.
Other useful build commands, run from the android folder:
| Command |
What it does |
./gradlew assembleDebug |
Builds a debug APK at app/build/outputs/apk/debug/app-debug.apk |
./gradlew assembleRelease |
Builds a release APK (minified) |
./gradlew installDebug |
Builds and installs the debug APK on a connected device |
./gradlew clean assembleRelease |
Cleans and rebuilds the release APK |
If Gradle cannot find your SDK, set ANDROID_HOME or create android/local.properties with a sdk.dir= line pointing at your Android SDK folder.
A release build without signing secrets falls back to the bundled debug key, so a local assembleRelease still produces an installable APK.
- Open RTMON from your app drawer.
- Tap Add widget to home screen.
- Your launcher shows its own dialog. Tap Add to home screen.
- When you return to the app, the status line reads Widget is on your home screen.
If your launcher cannot add widgets from apps, RTMON tells you so and points you to the manual method below.
- Long-press an empty area of your home screen.
- Tap Widgets.
- Find RTMON and drag it onto your home screen.
- On Android 12 and later, open the RTMON app once so you can allow the 3-second refresh.
On Android 12 and later, exact timing needs the Alarms & reminders permission.
- Open the RTMON app.
- If you see Allow 3-second refresh, tap it.
- Turn on Alarms & reminders for RTMON.
- Go back. The button disappears once the permission is granted.
Without this permission the widget still works, but Android batches its updates, so it refreshes roughly every 5 to 10 seconds.
| Label |
What it shows |
Format |
| CPU |
Processor load |
Percent, for example 42% |
| RAM |
Memory in use |
Percent |
| BAT |
Battery charge level |
Percent |
| NET |
Combined upload and download speed |
B/s, KB/s or MB/s |
Each graph shows the last 20 readings, which is 60 seconds at the default refresh rate. The CPU, RAM and battery graphs use a fixed 0 to 100 scale. The network graph scales to the busiest point in the visible window, but never below 64 KB/s, so idle background traffic does not fill the graph.
After the screen turns on, CPU and network show -- for about one refresh. Both are rates, so they need two readings before they can show a value.
| Android version |
Source |
Meaning |
| Android 7 and below (and some ROMs) |
/proc/stat |
True CPU utilisation |
| Android 8 and later |
/sys/devices/system/cpu/*/cpufreq |
Frequency load: current clock divided by maximum clock, summed across cores |
Android 8 and later block /proc/stat for normal apps, so RTMON uses clock speed as the closest available signal. It tracks load, but it is not identical to it.
RTMON has no in-app settings. You customize it by editing the source and rebuilding.
| Setting |
Where |
Default |
Notes |
REFRESH_MS |
SystemStatsWidget.kt |
3000L |
Refresh interval in milliseconds |
MAX_DATA_POINTS |
SystemStatsWidget.kt |
20 |
Points per graph (20 x 3 s = 60 s) |
NET_SCALE_FLOOR |
SystemStatsWidget.kt |
64 KB/s |
Minimum top of the network graph |
widget_background |
res/values/colors.xml, res/values-night/colors.xml |
#E8E8E8 light, #1A1A1A dark |
Widget background |
widget_label_text |
same files |
#000000 light, #FFFFFF dark |
Label text color |
widget_graph_background |
same files |
#FFFFFF light, #0D0D0D dark |
Graph background |
widget_grid |
same files |
#D0D0D0 light, #050505 dark |
Graph grid lines |
Graph line colors are set in SystemStatsWidget.kt:
private val redLinePaint = linePaint("#FF0000") // CPU
private val greenLinePaint = linePaint("#00FF00") // RAM
private val blueLinePaint = linePaint("#0099FF") // Battery
private val amberLinePaint = linePaint("#FFAA00") // Network
A faster refresh costs more battery. The build notes estimate about 4 to 5 percent per hour at 1 second, 1.5 to 2 percent at 3 seconds and about 1 percent at 5 seconds.
RTMON has two parts: a widget provider (SystemStatsWidget) and a small launcher activity (WidgetLauncherActivity).
Refresh loop. Android's built-in repeating alarms are clamped to at least 60 seconds, which is too slow. RTMON instead schedules a one-shot alarm 3 seconds ahead, and each tick schedules the next one. It uses an exact alarm when allowed and an inexact one otherwise. The alarm type is non-wakeup, so a sleeping device is never woken. While the screen is off, ticks skip the work but keep the chain alive.
Sampling. On each tick RTMON takes one sample and renders every widget instance from it, so several widgets do not double-count history.
- RAM comes from
ActivityManager.MemoryInfo (used divided by total, the same figure Android's memory settings show).
- Battery comes from
BatteryManager.
- Network comes from
TrafficStats total received plus transmitted bytes, for Wi-Fi and mobile together.
- CPU comes from
/proc/stat when readable, otherwise from cpufreq files.
Rates and baselines. CPU and network are computed from the difference between two readings. The previous counters are stored in shared preferences, so they survive the app process being killed. If the last reading is more than 15 seconds old (for example after the screen was off), RTMON starts a new baseline instead of reporting a misleading long-window average. A negative network delta, which happens after a reboot, is skipped.
Drawing. Graphs are drawn into small cached bitmaps and pushed to the widget with RemoteViews. Graph colors are re-read when the system theme changes. History is kept as a comma-separated list in shared preferences.
Permissions. The app requests only ACCESS_NETWORK_STATE and SCHEDULE_EXACT_ALARM.
- Android 6.0 (API 23) or later.
- Adding the widget from inside the app needs Android 8.0 or later and a launcher that supports pinning widgets.
- Automatic light and dark switching needs Android 10 or later.
- The 3-second refresh on Android 12 and later needs the Alarms & reminders permission.
- To build: Android Studio with the Android SDK (compile and target SDK 34) and JDK 17.
Problem: CPU shows --. Your device exposes neither /proc/stat nor the cpufreq files to apps, so RTMON has no real CPU signal to show.
Problem: CPU is stuck at 50% on the emulator. This is expected. Emulator virtual CPUs report a fixed fake clock. Real phones report real clocks.
Problem: The widget updates every 5 to 10 seconds instead of 3. Open RTMON and tap Allow 3-second refresh, then turn on Alarms & reminders.
Problem: Stats are frozen. Disable battery optimization for RTMON: Settings, Apps, RTMON, Battery, Unrestricted.
Problem: "App not installed" when updating. Uninstall the old version first. Early builds were signed with a different key.
Problem: The widget is missing from the widget list. Reinstall the APK, then add the widget again.
Problem: "Your launcher can't add widgets from apps." Your launcher does not support pinning. Long-press the home screen, open Widgets and add RTMON manually.
Problem: The build failed. Clean and retry:
cd android
./gradlew clean assembleRelease
- Android only.
- Network speed is device-wide, not per app.
- CPU on Android 8 and later is frequency load, not true utilisation.
RTMON is released under the MIT License. The widget uses a bundled LED dot-matrix TrueType font for its retro look.