Show HN: A (marginally) useful x86-64 ELF executable in 466 bytes
A battery status program for x86-64 Linux laptops in the form of a 466-byte ELF executable. Btry 30.6 Wh / 31.1 Wh Sometimes there are no energy now and energy full files, but charge * files instead. If this is the case, btry prints ampere hours instead of watt hours. Linux on x86-64.Other platforms No. When my ThinkPad X220 is plugged in at the time I wake it from suspend mode, I get the charge now file. When it is not plugged in I get the energy now file.