unoplatform/uno

[macOS] Battery API support

Open

#3,194 opened on May 19, 2020

View on GitHub
 (3 comments) (1 reaction) (2 assignees)C# (837 forks)batch import
difficulty/starter 🚀good first issuehacktoberfestkind/enhancementno-reproplatform/macos 🍏project/non-ui ⚙️

Repository metrics

Stars
 (9,789 stars)
PR merge metrics
 (Avg merge 14d 8h) (130 merged PRs in 30d)

Description

What would you like to be added:

Support for PowerManager:

https://github.com/unoplatform/uno/blob/04bcc890aa02bb15a575682ae396b936d2c14e95/src/Uno.UWP/System/Power/PowerManager.cs#L8

For contributors

You can use IOPMPowerSource API to achieve this, check out this Stack Overflow answer

Contributor guide