Laptop Battery Consumption Benchmark tool
Project description
BatConCalc
battery-consume-calc
Laptop Battery Consumption Benchmark tool
You can use this tool to calculate the battery consumption of your laptop. This tool supports csv file logging.
Installation
-
Windows
-
Linux
-
macOS (Apple Silicon, Big Sur 11.0-)
Install via pip, requires Python 3.11+:
pip install batconcalc
Roadmap
- AFK (Away from Keyboard) detection
- Battery cycle count monitoring (macOS, Macbook)
- Battery percentage logging
- export to CSV support
- battery percentage visual graph on main window
- hoverable data points (unlike the default Battery settings)
- terminal / no GUI support using curses
- minimizable without tmux
Usage
When logging is enabled, the tool will log the following format every time battery percentage changes:
[HH:MM:SS] - [BATTERY_PERCENTAGE] | [BATTERY_STATUS] [if AFK] [BATTERY CYCLE (Macbooks only)]\
You can add --help or -h to see the help menu.
~) batconcalc --help ✔ │ playground Py │ at 11:14:43
usage: batconcalc [-h] [--afk AFK] [--log LOG] [--version] [--foreground]
Laptop Battery Consumption Benchmark tool
options:
-h, --help show this help message and exit
--afk AFK AFK time in seconds
--log LOG Log file path (filetype: .csv)
--version show program's version number and exit
--foreground Run in foreground (do not detach from terminal)
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 batconcalc-2023.10.tar.gz.
File metadata
- Download URL: batconcalc-2023.10.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd40a4d019b9e404d459119a4b509d628b8b9feb27b683af5e3463dc7e8b5ad
|
|
| MD5 |
73718ce04aac6efb9fc1df01c4482004
|
|
| BLAKE2b-256 |
921500a97da5e7f41a84c1a4bfdbf173f288807e97b6841f0b1f0272d10c936e
|
Provenance
The following attestation bundles were made for batconcalc-2023.10.tar.gz:
Publisher:
release.yml on frvfrvr/batconcalc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
batconcalc-2023.10.tar.gz -
Subject digest:
7bd40a4d019b9e404d459119a4b509d628b8b9feb27b683af5e3463dc7e8b5ad - Sigstore transparency entry: 1674644289
- Sigstore integration time:
-
Permalink:
frvfrvr/batconcalc@73009ee62e758897d51adac68fe3dcca475849d5 -
Branch / Tag:
refs/tags/2023.10 - Owner: https://github.com/frvfrvr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@73009ee62e758897d51adac68fe3dcca475849d5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file batconcalc-2023.10-py3-none-any.whl.
File metadata
- Download URL: batconcalc-2023.10-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee9e5e1e88f013fbb3cf31be2dce5f850a6a8865bb3128540f23ef4fa2f0f03
|
|
| MD5 |
5811401fd3d62ba2227438d2293d4098
|
|
| BLAKE2b-256 |
ce2485c6bd7b74c61db1fd78bad2b1a01da2040879d9ed3911dec7ab0fe9570d
|
Provenance
The following attestation bundles were made for batconcalc-2023.10-py3-none-any.whl:
Publisher:
release.yml on frvfrvr/batconcalc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
batconcalc-2023.10-py3-none-any.whl -
Subject digest:
cee9e5e1e88f013fbb3cf31be2dce5f850a6a8865bb3128540f23ef4fa2f0f03 - Sigstore transparency entry: 1674644311
- Sigstore integration time:
-
Permalink:
frvfrvr/batconcalc@73009ee62e758897d51adac68fe3dcca475849d5 -
Branch / Tag:
refs/tags/2023.10 - Owner: https://github.com/frvfrvr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@73009ee62e758897d51adac68fe3dcca475849d5 -
Trigger Event:
push
-
Statement type: