Better Battery Report for Windows
Project description
✨ Better Battery Report: A Python CLI tool that generates enhanced battery reports for Windows systems ✨
📋 Features
- Display basic battery information
- Generate battery health reports with interactive visualizations
- Export reports as HTML files with Plotly graphs
- Track battery capacity changes over time
📦 Installation
Since this is a CLI application, it's recommended to run it using uvx
uvx bbrpy
or using pipx to install it on an isolated environment:
pipx install bbrpy
Alternatively, you can install it globally using pip:
pip install bbrpy
💻 Usage
The tool provides two main commands:
Display Battery Information
bbrpy info
This command shows basic battery information including:
- Report scan time
- Capacity Status (current / design)
Generate Battery Report
bbrpy generate [--output PATH]
Options:
--output: Specify the output path for the HTML report (default: "./reports/battery_report.html")
This command:
- Generates a battery report using powercfg
- Creates an interactive visualization of battery capacity history
- Opens the report in your default web browser
📘 Requirements
- Windows operating system
- Python 3.12 or higher
- Administrative privileges (for powercfg command)
⚙️ Technical Details
powercfgWindows command-line tool for battery datapydantic_xmlfor the default report serializationplotlyfor interactive visualizationspandasfor data processingtyperfor CLI interface
©️ License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bbrpy-0.2.6.tar.gz.
File metadata
- Download URL: bbrpy-0.2.6.tar.gz
- Upload date:
- Size: 319.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a8c90c37f868425350b284694c1a76336f0de97c3584449d5d42c3e9016a1af
|
|
| MD5 |
b354aaa8d47b05186d0a48485c18b8d1
|
|
| BLAKE2b-256 |
d9438207ab0a6645a0dc05fe45ff8ba3677d10d7dd34ed725e418c5cc48d674a
|
File details
Details for the file bbrpy-0.2.6-py3-none-any.whl.
File metadata
- Download URL: bbrpy-0.2.6-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48acddc26032ef8fb01179cb8608bfdff9c69a41c3cc5b6e0d6630bb54253b77
|
|
| MD5 |
d23e244e2943357535d92812a11891d8
|
|
| BLAKE2b-256 |
9ccf5ced1011f54bb8fbed8d9b3f8fe5a51df45de12b0b21bd22ed1b36093e98
|