Skip to main content

BatConCalc

battery-consume-calc

Laptop Battery Consumption Benchmark tool

Battery-consume-calc

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)

Metadata

Release files for batconcalc 2023.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for batconcalc 2023.10
File Size Uploaded
batconcalc-2023.10.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for batconcalc 2023.10
File Interpreter ABI Platform
batconcalc-2023.10-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / batconcalc-2023.10.tar.gz

Download URL batconcalc-2023.10.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7bd40a4d019b9e404d459119a4b509d628b8b9feb27b683af5e3463dc7e8b5ad
BLAKE2b-256 checksum
How to use checksums
921500a97da5e7f41a84c1a4bfdbf173f288807e97b6841f0b1f0272d10c936e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2026.

Transparency log

Release files / batconcalc-2023.10-py3-none-any.whl

Download URL batconcalc-2023.10-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cee9e5e1e88f013fbb3cf31be2dce5f850a6a8865bb3128540f23ef4fa2f0f03
BLAKE2b-256 checksum
How to use checksums
ce2485c6bd7b74c61db1fd78bad2b1a01da2040879d9ed3911dec7ab0fe9570d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2023.10 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page