├── .gitignore ├── .travis.yml ├── AUTHORS ├── LICENSE.txt ├── README.rst ├── docs ├── darwin │ ├── IOPSKeys_h │ │ ├── index.html │ │ └── toc.html │ └── IOPowerSources_h │ │ ├── index.html │ │ └── toc.html ├── linux │ ├── power_supply.h │ └── power_supply_class.txt └── win32 │ ├── CallNtPowerInformation.htm │ ├── GetSystemPowerStatus .htm │ ├── Power Setting GUIDs.htm │ ├── PowerSettingRegisterNotification.htm │ ├── PowerSettingUnregisterNotification.htm │ ├── SYSTEM_BATTERY_STATE.htm │ └── SYSTEM_POWER_STATUS.htm ├── power ├── __init__.py ├── common.py ├── darwin.py ├── freebsd.py ├── linux.py ├── version.py └── win32.py ├── requirements.txt ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── observer.py └── test_common.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/AUTHORS -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/README.rst -------------------------------------------------------------------------------- /docs/darwin/IOPSKeys_h/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/darwin/IOPSKeys_h/index.html -------------------------------------------------------------------------------- /docs/darwin/IOPSKeys_h/toc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/darwin/IOPSKeys_h/toc.html -------------------------------------------------------------------------------- /docs/darwin/IOPowerSources_h/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/darwin/IOPowerSources_h/index.html -------------------------------------------------------------------------------- /docs/darwin/IOPowerSources_h/toc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/darwin/IOPowerSources_h/toc.html -------------------------------------------------------------------------------- /docs/linux/power_supply.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/linux/power_supply.h -------------------------------------------------------------------------------- /docs/linux/power_supply_class.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/linux/power_supply_class.txt -------------------------------------------------------------------------------- /docs/win32/CallNtPowerInformation.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/CallNtPowerInformation.htm -------------------------------------------------------------------------------- /docs/win32/GetSystemPowerStatus .htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/GetSystemPowerStatus .htm -------------------------------------------------------------------------------- /docs/win32/Power Setting GUIDs.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/Power Setting GUIDs.htm -------------------------------------------------------------------------------- /docs/win32/PowerSettingRegisterNotification.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/PowerSettingRegisterNotification.htm -------------------------------------------------------------------------------- /docs/win32/PowerSettingUnregisterNotification.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/PowerSettingUnregisterNotification.htm -------------------------------------------------------------------------------- /docs/win32/SYSTEM_BATTERY_STATE.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/SYSTEM_BATTERY_STATE.htm -------------------------------------------------------------------------------- /docs/win32/SYSTEM_POWER_STATUS.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/docs/win32/SYSTEM_POWER_STATUS.htm -------------------------------------------------------------------------------- /power/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/power/__init__.py -------------------------------------------------------------------------------- /power/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/power/common.py -------------------------------------------------------------------------------- /power/darwin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/power/darwin.py -------------------------------------------------------------------------------- /power/freebsd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/power/freebsd.py -------------------------------------------------------------------------------- /power/linux.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/power/linux.py -------------------------------------------------------------------------------- /power/version.py: -------------------------------------------------------------------------------- 1 | VERSION = '1.5' -------------------------------------------------------------------------------- /power/win32.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/power/win32.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/observer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/tests/observer.py -------------------------------------------------------------------------------- /tests/test_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kentzo/Power/HEAD/tests/test_common.py --------------------------------------------------------------------------------