Latest / Science & hardware

btry

github.com · Open source · Active

Battery info program for x86-64 Linux laptops

Visit github.com ↗Share

Stars
99
Forks
3
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

btry is a tiny x86-64 Linux program that reports laptop battery information, written in assembly in a few hundred bytes. The author made it as a demonstration of a very small ELF executable. It suits people interested in minimal binaries or quick battery readouts.

Repository description on GitHub: “Battery info program for x86-64 Linux laptops in 307 bytes of machine code”

What it does

  • Reports laptop battery charge in watt hours or amp hours
  • Single 307-byte x86-64 ELF executable written in assembly
  • Installed with a base64 and unlzma one-liner

Good for

  • Check battery charge from a terminal on a Linux laptop
  • Study a very small ELF executable
  • Install a tiny battery readout with one command

Suits: Linux laptop users and people interested in tiny binaries.

Worth knowing: Only works on x86-64 Linux and assumes the BAT0 sysfs path.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw btry on , when meribold posted it to Show HN. GitHub listed no published releases for meribold/btry when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 85 points, 21 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 85 points, 21 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: meribold/btry
  2. Found: meribold posted it to Show HN. Show HN
  3. Also: meribold posted it to Show HN. Show HN
  4. Day-7 check recorded by Kip (details)
  5. Day-30 check recorded by Kip (details)

Quick answers

When was btry released?
No dated release record is available. Kip found it on Show HN on 27 Mar 2024.
Is btry open source?
Its source is public on GitHub at meribold/btry; check the repository for licence terms.
What does btry run on?
Linux, Command line.
Is btry free?
It is open source, so the code is free to read and run; check the licence for terms.
Is btry still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
Show HNlisting
official API record
GitHub repositorymeribold/btry
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-39843778. Summary written by KipFound’s editor.

Share

Similar tools

More in Science & hardware

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.