Eliminate dual-target idle wakeups and stage upcoming a1114 (carbonara) build
- Replace continuous polling in bananarchy-lid and bananarchy-volume-keys with /dev/input inotify watching and IRQ-driven poll(..., -1) steady state, and sync CPU/schedutil/GPU power knobs on flip transitions - Grant video-group write permissions to Adreno 304 devfreq governor, sync GPU powersave/simple_ondemand across bananarchy-display-power-sync and locker.so, and restore schedutil rate_limit_us on forced transitions - Trim per-minute statusbar clock forks, skip unchanged ext4 brightness rewrites and no-op sxmo_autosuspend spawns on blanking, and make bananarchy-bt-obex fully event-driven via inotify and blocking select - Register upcoming build a1114 (carbonara) in version.sh, check-rebuild.sh, CHANGELOG.md, AGENTS.md, and BATTERY-OPTIMIZATION-ANALYSIS.md while keeping a1111 (lennon) as the current public release
This commit is contained in:
1 parent
ed04da3e23
commit
e42024e90d
22 files changed
+416
-75
No files matched your search
@@ -39,7 +39,9 @@ fi
|
||||
sxmo_jobs.sh stop idle_locker
|
||||
|
||||
# U2: enter deep standby after BANANARCHY_SUSPEND_GRACE seconds of screen-off.
|
||||
( /usr/bin/sxmo_autosuspend.sh >/dev/null 2>&1 & \
|
||||
printf '%s\n' "$!" > /tmp/bananarchy_autosuspend.pid )
|
||||
if [ ! -f /etc/bananarchy-no-deep-standby ]; then
|
||||
( /usr/bin/sxmo_autosuspend.sh >/dev/null 2>&1 & \
|
||||
printf '%s\n' "$!" > /tmp/bananarchy_autosuspend.pid )
|
||||
fi
|
||||
|
||||
wait
|
||||
@@ -16,7 +16,9 @@ fi
|
||||
|
||||
# include common definitions
|
||||
# shellcheck source=configs/default_hooks/sxmo_hook_icons.sh
|
||||
. sxmo_hook_icons.sh
|
||||
if [ "${1:-}" != "time" ]; then
|
||||
. sxmo_hook_icons.sh
|
||||
fi
|
||||
# shellcheck source=scripts/core/sxmo_common.sh
|
||||
. sxmo_common.sh
|
||||
|
||||
@@ -26,7 +28,19 @@ fi
|
||||
# right and "variable" icons (that come and go) on the left.
|
||||
|
||||
set_time() {
|
||||
sxmobar -a time 99 " $(date "+${SXMO_STATUS_DATE_FORMAT:-%H:%M}")"
|
||||
_time_val=" $(date "+${SXMO_STATUS_DATE_FORMAT:-%H:%M}")"
|
||||
_time_dir="${XDG_RUNTIME_DIR:-/run/user/10000}/sxmo_status/${SXMO_STATUS_NAME:-default}"
|
||||
if [ -d "$_time_dir" ]; then
|
||||
_time_file="$_time_dir/099-time"
|
||||
_old_time=""
|
||||
[ -r "$_time_file" ] && { IFS= read -r _old_time < "$_time_file" 2>/dev/null || _old_time=""; }
|
||||
if [ "$_old_time" != "$_time_val" ]; then
|
||||
printf '%s\n' "$_time_val" > "${XDG_RUNTIME_DIR:-/run/user/10000}/sxmo_status/.time.$$" && \
|
||||
mv -f "${XDG_RUNTIME_DIR:-/run/user/10000}/sxmo_status/.time.$$" "$_time_file"
|
||||
fi
|
||||
else
|
||||
sxmobar -a time 99 "$_time_val"
|
||||
fi
|
||||
}
|
||||
|
||||
set_state() {
|
||||
|
||||
Reference in new issue
Block a user