ENUM MAX77759_CHGR_BAT_DTLS_STATES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum max77759_chgr_bat_dtls_states(9) β€” Battery Details πŸ¦‹

okay so bestie, welcome to the Kernel API Manual, section 9 ✨. This one's all about the battery-details state enum, and yes it's exactly as iconic as it sounds. Buckle up, we're reading a C enum together and it's gonna be a whole vibe πŸŽ€


✨ NAME ✨

enum max77759_chgr_bat_dtls_states β€” Battery Details πŸ’–


🌸 SYNOPSIS 🌸

enum max77759_chgr_bat_dtls_states {
    MAX77759_CHGR_BAT_DTLS_NO_BATT_CHG_SUSP ,
    MAX77759_CHGR_BAT_DTLS_DEAD_BATTERY ,
    MAX77759_CHGR_BAT_DTLS_BAT_CHG_TIMER_FAULT ,
    MAX77759_CHGR_BAT_DTLS_BAT_OKAY ,
    MAX77759_CHGR_BAT_DTLS_BAT_UNDERVOLTAGE ,
    MAX77759_CHGR_BAT_DTLS_BAT_OVERVOLTAGE ,
    MAX77759_CHGR_BAT_DTLS_BAT_OVERCURRENT ,
    MAX77759_CHGR_BAT_DTLS_BAT_ONLY_MODE

};

like, look at her. eight whole members. she ate πŸ’…


🧚 Constants 🧚

okay so each one of these is a possible mood your battery can be in, and ngl some of these moods are concerning 😭

  • MAX77759_CHGR_BAT_DTLS_NO_BATT_CHG_SUSP β€” no battery at all, and the charger is suspended. literally nothing to charge, so she's just chilling 🫢
  • MAX77759_CHGR_BAT_DTLS_DEAD_BATTERY β€” Vbatt < Vtrickle. yeah. dead. gone. πŸ’€
  • MAX77759_CHGR_BAT_DTLS_BAT_CHG_TIMER_FAULT β€” charging got suspended because of a timer fault. not the vibe πŸ™ˆ
  • MAX77759_CHGR_BAT_DTLS_BAT_OKAY β€” battery's okay and Vbatt > Min Sys Voltage (Vsysmin). we love a healthy main character πŸ‘‘
  • MAX77759_CHGR_BAT_DTLS_BAT_UNDERVOLTAGE β€” battery is okay (!!) but Vtrickle < Vbatt < Vsysmin. lowkey struggling but technically fine 🌸
  • MAX77759_CHGR_BAT_DTLS_BAT_OVERVOLTAGE β€” battery voltage > the overvoltage threshold. too much energy, she's overwhelmed 😭
  • MAX77759_CHGR_BAT_DTLS_BAT_OVERCURRENT β€” battery current exceeds the overcurrent threshold. bestie the current is current-ing πŸ”₯
  • MAX77759_CHGR_BAT_DTLS_BAT_ONLY_MODE β€” battery only mode, and the battery level just isn't available. iykyk ✨
fr fr tho: don't go guessing at any behavior that isn't spelled out above β€” these are just the documented states, periodt πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

go read those next, they're all part of the same friend group 🫢


and that's the page!! πŸ’– this lil masterpiece lives in ./include/linux/mfd, dated October 2026, and it's the enum max7775..._dtls_states(9) manual β€” slay, bye bestie πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from