get_batt_uV(9)
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 π¦
- Kernel file
./drivers/power/supply/charger-manager.cβ iykyk, home base π is_batt_present(9)is_ext_pwr_online(9)is_charging(9)is_full_charged(9)is_polling_required(9)try_charger_enable(9)check_charging_duration(9)cm_get_target_status(9)_cm_monitor(9)cm_monitor(9)_setup_polling(9)cm_monitor_poller(9)cm_setup_timer(9)charger_extcon_work(9)charger_extcon_notifier(9)charger_extcon_init(9)charger_manager_register_extcon(9)charger_manager_prepare_sysfs(9)
xoxo, your kernel bestie π«Ά β ./drivers/power/supply, October 2026, get_batt_uV(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms