Comment

Comment by nubinetwork

Seems I was mistaken, but it looks like you can still derive the power by looking in /sys/class/power_supply/BAT0/ and whether ../AC/online is 0.
parent nubinetwork 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton