A (marginally) useful x86-64 ELF executable in 466 bytes

The author presents a battery status program for x86-64 Linux laptops, a compact 466-byte ELF executable. The program displays battery information like watt-hours and ampere-hours, adjusting based on file availability (charge_* vs. energy_* files). Installation involves decoding a base64 string for btry setup. Limitations include the program’s exclusive support for x86-64 Linux and potential issues with battery configuration on certain devices. Notably, some laptops with dual batteries are not compatible with btry. Overall, the program is a concise tool for monitoring battery performance on specific Linux systems, offering unique insights and functionality.

https://github.com/meribold/btry

To top