Skip to main content

Laptop Battery Consumption Benchmark tool

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batconcalc-2023.10.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

batconcalc-2023.10-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

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

Hashes for batconcalc-2023.10.tar.gz
Algorithm Hash digest
SHA256 7bd40a4d019b9e404d459119a4b509d628b8b9feb27b683af5e3463dc7e8b5ad
MD5 73718ce04aac6efb9fc1df01c4482004
BLAKE2b-256 921500a97da5e7f41a84c1a4bfdbf173f288807e97b6841f0b1f0272d10c936e

See more details on using hashes here.

Provenance

The following attestation bundles were made for batconcalc-2023.10.tar.gz:

Publisher: release.yml on frvfrvr/batconcalc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for batconcalc-2023.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cee9e5e1e88f013fbb3cf31be2dce5f850a6a8865bb3128540f23ef4fa2f0f03
MD5 5811401fd3d62ba2227438d2293d4098
BLAKE2b-256 ce2485c6bd7b74c61db1fd78bad2b1a01da2040879d9ed3911dec7ab0fe9570d

See more details on using hashes here.

Provenance

The following attestation bundles were made for batconcalc-2023.10-py3-none-any.whl:

Publisher: release.yml on frvfrvr/batconcalc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page