get_batt_uV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

get_batt_uV(9)

okay so bestie, welcome to the Kernel API Manual page for get_batt_uV(9) β€” it’s giving β€œtiny but important battery voltage level” energy ✨ and we are seated πŸ’….

🌸 NAME 🌸

get_batt_uV β€” get the voltage level of the battery. πŸ’–

✨ SYNOPSIS ✨

int get_batt_uV (struct charger_manager *cm , int *uV );

πŸŽ€ ARGUMENTS πŸŽ€

  • cm β€” the Charger Manager representing the battery. πŸ‘‘
  • uV β€” the voltage level returned. 🫢

πŸ’… DESCRIPTION πŸ’…

bestie, here’s the tea: it returns 0 if there is no error. 😌

If something goes sideways, it returns a negative value on error. 😭 that’s the whole vibe, no cap.

πŸ¦‹ SEE ALSO πŸ¦‹


xoxo, your kernel bestie 🫢 β€” ./drivers/power/supply, October 2026, get_batt_uV(9) πŸ’‹

πŸ“¦ where this page comes from