ab8500_fg_bat_voltage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is ab8500_fg_bat_voltage(9) from the Kernel API Manual β€” literally the β€œget battery voltage” page, and it’s giving tiny iconic kernel-helper energy. πŸ’…βœ¨


✨ SYNOPSIS ✨

int ab8500_fg_bat_voltage (struct ab8500_fg *di );

πŸŽ€ ARGUMENTS πŸŽ€

  • di β€” pointer to the ab8500_fg structure; it’s the context object you hand over, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns battery voltage in microvolts (on success) else error code. That’s the whole vibe β€” success means you get the voltage in microvolts, and not-success means you get an error code. No cap. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

okay the friend group is huge and I’m obsessed β€” here’s every single reference, fr fr:


mwah πŸ’‹ source/version: ./drivers/power/supply; date: October 2026; page: ab8500_fg_bat_voltage(9). bye bestie, go get that battery voltage! πŸ«ΆπŸ”‹

πŸ“¦ where this page comes from