This repository contains a script to display lovely slightly-transparent overlays on top of your RetroPie games and emulationstation menus
- adjust to the current resolution
- gracefully shut down the Pi after 60s from when voltage goes below 3.2V
- show a big imminent shutdown warning when the counter starts ticking
- display battery level (charging, discharging, %, critical)
- display WiFi state (connected/disconnected/disabled)
- display Bluetooth state (connected/disconnected/disabled)
- display under-voltage state
- display warning if frequency-capped
- display warning if throttling
- pngview from AndrewFromMelbourne
- material-design-icons from Google
- Adafruit ADS1015 with Vbat on A0 (or alternative)
- a symbolic link to overlay_icons/ic_battery_alert_red_white_36dp.png under material_design_icons_master/device/drawable-mdpi/
- an entry in crontab to start this on boot
- check and adjust paths in the script header
- some battery readings calibration - check logs
- some patience
Like that:
Bluetooth, wifi connected, battery discharging
Bluetooth, wifi disconnected, battery discharging
Bluetooth, wifi disabled, battery charging
CPU throttled due to high temperature
Under-Voltage, Freq-capped due to high temperature, battery critical, shutdown imminent warning - shutting down in 60s