Power
Python module that allows you to get power and battery status of the system. Windows, Mac OS X, Linux
Install / Use
/learn @Kentzo/PowerREADME
Power
.. image:: https://travis-ci.org/Kentzo/Power.svg?branch=master :target: https://travis-ci.org/Kentzo/Power .. image:: https://codecov.io/gh/Kentzo/Power/branch/master/graph/badge.svg :target: https://codecov.io/gh/Kentzo/Power .. image:: https://img.shields.io/pypi/v/Power.svg :target: https://pypi.python.org/pypi/Power .. image:: https://pyup.io/repos/github/Kentzo/Power/shield.svg :target: https://pyup.io/repos/github/Kentzo/Power/ :alt: Updates
Crossplatform (Windows, Linux, Mac OS X, FreeBSD) python module to access power capabilities of the system.
- Power source type: AC, Battery or UPS
- Battery warning level: no warning (None), less than 22% of battery (Early), less than 10min (Final)
- Time remaining estimate
- Fault tolerant: if for some reason power capabilities cannot be extracted, falls back to AC
- Support for multiple batteries
- Power changes can be observed (Mac OS X only for now)
- Very easy to extend to support new features or new systems
Examples
Until we expand the documentation please have a look in power/tests.py
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
96.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
