• Stars
    star
    405
  • Rank 106,656 (Top 3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Interactive batteries viewer

battop

Latest Version Continuous integration Packaging status dependency status Apache 2.0 OR MIT licensed

battop is an interactive viewer, similar to top, htop and other *top utilities, but about the batteries installed in your notebook.

Screenshot

Features

  • Cross-platform (Linux, MacOS, FreeBSD and DragonflyBSD are supported and Windows is on the way)
  • Supports multiple batteries in case your notebook have them
  • It is free
  • Usually it just works!

battop is backed by a Rust crate battery which provides unified cross-platform information about system batteries.
Check it out, if you want to gather the same information for your application!

Installation

Packaging status

Arch linux

Install package from AUR with your favorite AUR helper:

$ yay -S battop

From sources

Clone the repo and run

$ cargo build --release

Other

Prebuilt binaries for Linux, FreeBSD and MacOS can be downloaded from the GitHub releases page.

Usage

Simply running the battop command in your terminal should do the thing.

Left and right arrows can be used to switch between different system batteries (if available).

Run the battop -h command to see the additional available options.

License

battop is double-released under the Apache License, Version 2.0 or the MIT License.

Donations

If you appreciate my work and want to support me, you can do it here

More Repositories

1

rust-battery

Rust crate providing cross-platform information about the notebook batteries.
Rust
334
star
2

unbound-telemetry

Prometheus exporter for Unbound DNS resolver
Rust
84
star
3

hostname

Cross-platform hostname functions in Rust
Rust
62
star
4

rust-claim

Assertion macros toolkit for Rust
Rust
61
star
5

python-wargaming

Pure-pythonic client library for Wargaming API
Python
27
star
6

python-opus

Is not maintained, sorry
Python
26
star
7

python-2gis

A Python library for accessing the 2gis API
Python
20
star
8

rust-imghdr

Library that determines the type of image contained in a file or byte stream
Rust
18
star
9

actix-httpbin

httpbin.org clone with Rust and actix-web
Rust
18
star
10

tornado-zmq-sockjs-example

Example of a application, which uses Tornado web-server for backend side, SockJS for client communications and ØMQ for inner communications.
Python
13
star
11

rust-icmp

Rust ICMP socket, intended to be similar to std TCP/UDP sockets in future
Rust
10
star
12

hid-magicmouse2

C
8
star
13

tokio-memcache

Rust+tokio memcache client. WIP
Rust
8
star
14

python-quirc

Python ctypes interface for QR code decoding library `libquirc`
Python
7
star
15

rust-macaddr

Primitive types for MAC addresses in Rust
Rust
5
star
16

fizz

C-based clone of the https://github.com/twitter/snowflake/. For studying purposes only.
C
5
star
17

rust-flake

Rust library for unique ID generation
Rust
2
star
18

rust-pgcopy

Rust encoder for PostgreSQL COPY WITH BINARY format
Rust
2
star
19

mhundwa

Бот-архивариус для авто-подлепры
Python
2
star
20

o_O

Python package names just for lulz
Python
1
star
21

python-aio2gis

asyncio-powered 2gis library for Python
Python
1
star
22

wiki-anon-edits-converter

Fast & furious wikipedia dump converter
C
1
star
23

link-unwrapper

Tornado server for a short links unwrapping
Python
1
star
24

random-imgur

Python
1
star
25

twitter-presentation

@svartalf/geekfest-twitter-stream rebranding.
Python
1
star
26

page-chat

Leave your message at the any place of page.
JavaScript
1
star
27

rust-memcache-proto

Memcache binary protocol implementation for Rust
Rust
1
star
28

xmpp-log

Simple XMPP MUC logger
Python
1
star