Refresh the charge icon immediately on charger plug/unplug

This commit is contained in:
Luxferre committed 2026-11-10 13:00:41 +02:00
1 parent 6a6222c198
commit eaf08abcd4
9 files changed
+159 -6

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@
- **High-brightness display and reliable flip handling**: the 2720 Flip internal panel uses a live-verified 25 MHz SPI clock to prevent corruption when backlight PWM exceeds the former 71% threshold, without reducing the brightness range. The compiled lid daemon combines event-driven `EV_SW` handling with 200 ms raw-hall reconciliation, so missed edges or stale switch state cannot leave the phone awake when closed.
- **Stock-signed Wi-Fi, Bluetooth, and modem firmware**: `msm-firmware-loader` mounts the phone's `modem` and `persist` partitions before udev, supplies `wcnss.mdt`, `mba.mbn`, and the device-specific WCNSS NV data to the mainline remote processors, and preserves the factory radio calibration and MAC addresses. The sysinit and boot service links are shipped explicitly so clean, `--no-scripts` image builds bring up both `wlan0`/`wcn36xx` and `hci0`/`btqcomsmd` without packaging device-specific firmware blobs.
- **Alpine Linux Edge base**: full access to the Alpine package ecosystem with `< 95 MB` idle RAM usage on 512 MB devices and full local root access out of the box.
- **Network time synchronisation**: `chronyd` uses `iburst` with long `minpoll 12 maxpoll 16` polls; `bananarchy-time-sync.sh` re-resolves the NTP pool and requests an immediate burst over chronyd's root-only Unix socket when NetworkManager brings a connection up, so the clock is set within seconds of boot or a Wi-Fi reconnect without shortening the battery-friendly steady-state interval. **Config -> Sync net time** forces a burst manually and reports the result when autosync is slow. The status bar clock is also refreshed synchronously on unlock and by dmenu itself, so it cannot show a stale pre-lock time. See `MANUAL.md` section 5.7.
- **Network time synchronisation**: `chronyd` uses `iburst` with long `minpoll 12 maxpoll 16` polls; `bananarchy-time-sync.sh` re-resolves the NTP pool and requests an immediate burst over chronyd's root-only Unix socket when NetworkManager brings a connection up, so the clock is set within seconds of boot or a Wi-Fi reconnect without shortening the battery-friendly steady-state interval. **Config -> Sync net time** forces a burst manually and reports the result when autosync is slow. The status bar clock is also refreshed synchronously on unlock and by dmenu itself, so it cannot show a stale pre-lock time. Plugging or unplugging the charger forces an immediate charge-icon republish plus a short delayed recheck, so the icon changes even when the reported capacity has not moved yet. See `MANUAL.md` section 5.7.
- **Pure X11 graphical stack with GPU acceleration**: cross-compiled **Xlibre** (`X11Libre/xserver`) display server offloading 2D/3D screen rendering to the **Adreno 304 GPU** via **Glamor, DRI3, GLX, and Mesa Freedreno (`FD304`, OpenGL 3.1 / OpenGL ES 3.0)** over `panel-mipi-dbi` KMSRO, paired with a customized **Sxmo (`sxmo-de-dwm`)** window manager (`240x320` vertical stack layout, native `ParentRelative` desktop clock and softkey bar without Conky overhead, `< 2 ms` slider/key wake latency, and zero Wayland overhead).
### Keypad-first user experience and native DWM plugins