Kobo: suspend correct (state-extended avant rtcwake) + hwclock sync + logs suspend

This commit is contained in:
2026-06-15 12:13:58 +02:00
parent 1b42e54465
commit 19a0d9153f
2 changed files with 15 additions and 8 deletions

View File

@@ -21,5 +21,8 @@ for gov in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
echo ondemand > "$gov" 2>/dev/null
done
# Synchronise l'horloge RTC sur l'heure système (sinon rtcwake calcule mal -> suspend KO).
hwclock -w -u 2>/dev/null
# Lance la boucle, tout est journalisé dans $LOG.
exec sh "$BASE/monitorinkloop.sh" >> "$LOG" 2>&1