added adaptive quickshell

This commit is contained in:
wt committed 2026-11-17 18:15:16 +07:00
1 parent 6eb56d2065
commit 5b33a73fd8
189 files changed
+8678 -15

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Battery settings stage
Added `BatterySettings.qml` using existing Quickshell UPower hardware discovery. The Battery and Power page appears only when `Hardware.batteries` is nonempty. Battery level is read-only; no privileged or potentially disruptive power operations are performed. The page has a fixed StackLayout index (7) so hotplug cannot redirect navigation to another page.
## Validation
Run `python3 -m unittest discover -s quickshell/tests -p "test_*.py"` and `node quickshell/tests/hardware_policy_node.cjs`. On an actual phone or laptop verify battery percentage, charging state updates, and that the page disappears when no battery is present. Note that a QML runtime test was not possible in the build container.
## Remaining
System power profiles, suspend policies, global gestures, SIM PIN/PUK and secure session locking/fingerprint authentication still require implementation and hardware validation. Keep hyprlock enabled.