Remove unnecessary background services and polling loops to improve battery life
This commit is contained in:
1 parent
726500085a
commit
68cf9c515b
17 files changed
+159
-22
No files matched your search
@@ -34,6 +34,8 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
- Added direct C-level `_BANANARCHY_DWM_CMD` IPC between `dmenu` and `dwm` for instant window management (`Kill window`, `Close Terminal`, `Move to WS 1..4`, `Go to WS 1..4`, `Shift stack`, `Swap stack`, `Toggle Layout`) and restored application context menus (`Right softkey` inside `st`, `nano`, and X11 apps).
|
||||
- Updated the `fcitx5` `superd` service wrapper (`bananarchy-fcitx5.sh`) and XIM environment propagation across `st`, `dmenu`, and `dwm-plugin` so T9 keypad input stays supervised and active across all terminal and menu sessions.
|
||||
- Removed the non-applicable `Toggle Bar` entry from the `Config` menu.
|
||||
- **Battery life and background service optimizations**:
|
||||
- Removed `upowerd` and `sxmo_battery_monitor` (eliminating 3.5-second D-Bus broadcasts and shell forks in favor of direct `sysfs` `/sys/class/power_supply/` reads), `sxmo-x11-status` (updating the X11 root statusbar directly from `sxmo_hook_statusbar.sh`, `fcitx5-t9`, and `dmenu`), redundant 5-minute `mmcli` polling loops in `sxmo_modemmonitor.sh`, eMMC `/swapfile` (relying exclusively on compressed RAM `/dev/zram0`), `hkdm`, `haveged`, `iio-sensor-proxy`, `sleep-inhibitor`, `kill-plymouth`, `nftables`, `logbookd`, `openrc-user`, and unused `tty2`–`tty6` / `ttyMSM0` `getty` instances.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user