v2.0.0 Revamp
AutoSuspend v2.0.0 is a major refactoring of the entire plugin. While not exactly necessary, it is recommended to delete the older settings.json before using (if AutoSuspend v2 is already installed prior to deleting the file, just reload the plugin).
There is a multitude of new features, including:
- Stricter validation of saved settings
- Introduces triggered actions, which replaces the hardcoded
Suspend
action withNone
,Suspend
, andShutdown
- Introduces 3 new alarm types in addition to the previous discharge/overcharge alarms:
Daily Playtime
: Triggers an alarm after reaching an accumulated play time throughout the day (persistent across suspend/shutdown)Session Playtime
: Triggers an alarm after reaching an accumulated play time in a single sitting (new session after each suspend/shutdown)Bedtime
: Triggers an alarm after reaching a certain time of dayDischarge
: Triggers an alarm after discharging to a certain battery percentageOvercharge
: Triggers an alarm after recharging to a certain battery percentage
- Customizable toasts:
- Headers and messages with substitute-able placeholders
{batt%}
: Current battery percentage (-0.5% offset applied to more closely match the visual percentage usually shown){playHrs}
: Current play session hours{playMin}
: Current play session minutes{playSec}
: Current play session seconds{date:<datetimeformat>}
: Current date & time using the datetime format specified (python strftime flavored). ex:{date:%I%M %p}
=>03:32 PM
- Not all directives are implemented (missing:
%f
,%z
,%j
,%-j
,%U
,%W
) - Implemented directives are not exact implementations (just some janky javascript)
- Not all directives are implemented (missing:
- Sound effect can be changed to any of SteamOS's default navigation sound effects
- Headers and messages with substitute-able placeholders
- Ability to enable/disable alarms
- Per user/Global alarms
- No longer has a specific limit on the number of alarms