27 Feb
2023
27 Feb
'23
8:50 p.m.
Thanks for this, I hadn't realized `IOPMCopyBatteryInfo` was so deprecated. Looking at [Chromium's use of `IOPSCopyPowerSources`](https://source.chromium.org/chromium/chromium/src/+/main:services/device/bat...), they first check that the source is present and internal, which seems like a good idea. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2283#note_25624