aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-10 11:32:07 +0100
committerDanilo M. <danix@danix.xyz>2026-11-10 11:32:07 +0100
commit1a2607a7a5f6ad9a0b22d6544de3228c7fafc9d8 (patch)
treedc2b1e9d0d03de0d2c554121ca482175417b28ef /AGENTS.md
parent24ffea5a7f25b179a8b2fb7f3605a4977c854069 (diff)
downloaddeck-it-1a2607a7a5f6ad9a0b22d6544de3228c7fafc9d8.tar.gz
deck-it-1a2607a7a5f6ad9a0b22d6544de3228c7fafc9d8.zip
feat(tablet): battery and Wi-Fi card on the dashboard
Reads `dumpsys battery` and `cmd wifi status` (Android 11+) over adb from the device whose reverse carries the dashboard socket, so a switch between USB and Wi-Fi is followed. Reads are cached for 10s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 0de3b9b..6817cdb 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -49,6 +49,9 @@ Keep the server dependency-free apart from that one package.
is the emergency stop, a press-and-hold button on the tab. While the printer
is off it backs off 10s between tries. The camera snapshot and the slicer
thumbnail are loaded by the tablet straight from the printer.
+- `tablet` reads the tablet's battery (`dumpsys battery`) and Wi-Fi (`cmd wifi
+ status`, Android 11+) over adb, from the device whose reverse carries the
+ dashboard socket; reads are cached 10s.
- The page holds a Screen Wake Lock while visible, so the tablet never sleeps
over the dashboard; nothing on the tablet's settings is changed.
- Launchers are `[launch] apps`, desktop ids run with `gtk-launch`; label and