On Thu Mar 27 18:55:20 2025 +0000, Nikolay Sivov wrote:
What does SteamVR actually need from all of this? Do we need to store anything in registry at all? Could we instead return something static for "active" scheme?
It does this (from my Windows logs):
`Wed Mar 05 2025 00:54:53.220 [Info] - [System] Prepare operating system environment `
`Wed Mar 05 2025 00:54:53.220 [Info] - [System] Setting power settings to minimum power savings. Wed Mar 05 2025 00:54:53.221`
`[Info] - [System] Found power mode {381B4222-F694-41F0-9685-FF5BB260DF2E} Balanced Wed Mar 05 2025 00:54:53.222 `
`[Info] - [System] Found power mode {8C5E7FDA-E8BF-4A96-9A85-A6E23A8C635C} High performance (current) `
`Wed Mar 05 2025 00:54:53.222 [Info] - [System] Found power mode {A1841308-3541-4FAB-BC81-F71556F20B4A} Power saver `
`Wed Mar 05 2025 00:54:53.223 [Info] - [System] Setting High Performance power mode`
And, I'd rather not have to implement via the registry. That's just how Windows does it. Was documenting for anyone who wants to implement it properly in the future.