diff --git a/client/scripts/autoloads/platform_info.gd b/client/scripts/autoloads/platform_info.gd index 65df526bd..7a50632b6 100644 --- a/client/scripts/autoloads/platform_info.gd +++ b/client/scripts/autoloads/platform_info.gd @@ -22,7 +22,11 @@ extends Node signal power_profile_changed(old_profile: int, new_profile: int) ## High-level power classification. POWER_SAVER reserved for future OS API. -enum PowerProfile { FULL = 0, BATTERY = 1, POWER_SAVER = 2 } # Plugged in (charged, charging, or no battery) — no restrictions # On battery — AI inference should be suspended per D-138 §8 Layer 3 # System-level power-saver mode (future: no cross-platform API yet) +enum PowerProfile { + FULL = 0, ## Plugged in — no restrictions + BATTERY = 1, ## On battery — suspend AI inference per D-138 §8 Layer 3 + POWER_SAVER = 2, ## System-level power-saver mode (future) +} ## How often (seconds) to re-poll OS for power state changes. const POWER_POLL_INTERVAL := 30.0