Commit Graph
7 Commits
Author SHA1 Message Date
Kenneth Skovhede 7ccd05348e Added support for reading the power supply state on MacOS 2017-10-11 21:48:31 +02:00
Kenneth Hsu 8573ab2cd3 Add ability to detect power supply source on Windows. 2017-10-03 18:53:28 -07:00
Kenneth Hsu 5708d5aa3d Add method to get current power source. 2017-10-01 19:50:55 -07:00
Kenneth Hsu 9ab76dddc7 Add Linux power supply state. 2017-10-01 19:50:55 -07:00
Kenneth Hsu 4403e8cd5c Add default power supply state.
By default, we will always claim to be on AC so that no backups are
missed.
2017-10-01 19:50:55 -07:00
Kenneth Hsu be34b62668 Add interface for power supply status. 2017-10-01 19:31:07 -07:00
Kenneth Hsu b49023376a Add enumeration for power supply types. 2017-10-01 19:18:21 -07:00