> Am I to assume `SYSTEM_BATTERY_STATE.AcOnLine` in `system.fill_battery_state` holds a value reflecting the system's actual state?
It would be best to go by what Windows does here. `SYSTEM_BATTERY_STATE.AcOnLine` is set to 1 on a virtualized Windows 11 install, so we should probably always set it to 1 as well.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8460#note_109573
--
v41: wintypes: Add stubs for IIterable<IKeyValuePair<HSTRING, IInspectable *>> to PropertySet.
wintypes: Add stubs for IMap<HSTRING, IInspectable *> to PropertySet.
wintypes: Add stubs for IObservableMap<HSTRING, IInspectable *> to PropertySet.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6766