diff --git a/tools/power-ab b/tools/power-ab index f317b52b6..fbdc703fe 100755 --- a/tools/power-ab +++ b/tools/power-ab @@ -19,7 +19,8 @@ # ufs-delay A = Hibern8 after 150 ms idle (kernel default), B = after # --delay-ms (default 4, the stock Android value) # s2idle A = awake, B = frozen in s2idle for the whole phase -# (rtcwake -m freeze, frozen again after an early wake). Turn +# (rtcwake -m freeze, or --suspend systemd; frozen again +# after an early wake). Turn # the screen off after unplugging: both phases assume it off. # Nothing runs while frozen, so both phases are measured # from the gauge's charge counter (1 mAh steps: use phases of @@ -38,6 +39,9 @@ # --user-units "U..." user units for the units test # --user NAME whose user units (default: the first logged-in user) # --detach re-run itself with setsid/nohup and return at once +# --suspend HOW s2idle: "rtcwake" freezes straight through /sys/power/state +# (default); "systemd" arms the RTC and runs systemctl suspend, +# so the system-sleep hooks run (the 9a's NFC hook must) # # Output: /var/lib/omamobile/power/