How to identify the primary battery (for Wine)

Benjamin Berg benjamin at sipsolutions.net
Tue Jun 14 03:05:46 CDT 2022


Hi all,

On Mon, 2022-06-13 at 19:54 -0600, Alex Henrie wrote:
> I've been working to improve battery status reporting for applications
> running on Wine on Linux. However, we Wine developers are not sure
> what the best way is to determine which battery is the computer's
> primary battery. Could you take a look at
> https://gitlab.winehq.org/wine/wine/-/merge_requests/134 and leave a
> comment there or on the wine-devel mailing list?

Wouldn't it make sense for Wine to use the UPower provided
DisplayDevice that can be queried through DBus?

Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220614/da076255/attachment.sig>


More information about the wine-devel mailing list