Light don go: when Nigeria's power cuts out, my laptop sends me outside
Description and use
The "Light don go" tool detects power cuts, shows a full‑screen nudge with a 60‑second stretch timer and activity suggestions, and reduces lost work time during outages in Nigeria.
Problem
Power cuts in Nigeria cause laptops to switch to battery, leading to lost work time while waiting for a generator to start.
Outcome
The tool runs offline, uses a local Gemma model, and reduces lost work time during power cuts by prompting users to take short breaks or go outside.
Workflow
- Detect battery state via psutil every 5s
- If battery >30s, show full‑screen page with plan and timer
- Provide activity nudge from Gemma 4 E2B via Ollama
- Guard checks nudge for numbers or forbidden words
- If guard fails, use fallback sentence
- Close page after next power cut
- Log events and save weather forecast offline
Evidence
When my laptop switches to battery for more than 30 seconds, a full‑screen page opens on top of whatever I'm doing
The model is a 4.3 GB download. My laptop is an i5-1135G7 with no NVIDIA GPU.
I set keep_alive: -1, which keeps Gemma in RAM (3.9 GB of my 15.7).
- Record date: 2026-10-27T17:26:48.698Z