BSDO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– BSDO(9) πŸ’–

okay so bestie, welcome to the BSDO(9) page from the Kernel API Manual β€” this one is literally about packing data into Battery Status Data Object format. it's giving kernel battery-data realness, and we're keeping every detail, no cap 🫢✨

🌸 NAME 🌸

BSDO β€” pack data into Battery Status Data Object format. πŸ’…

✨ SYNOPSIS ✨

the call looks exactly like this:

BSDO (batt_charge , chg_status , batt_present , invalid_ref );

πŸŽ€ ARGUMENTS πŸŽ€

  • batt_charge β€” battery's present state of charge, in 0.1WH increment. πŸ“
  • chg_status β€” battery charge status. πŸ”‹
  • batt_present β€” indicates that the battery is present/attached when set, else absent when unset. πŸ¦‹
  • invalid_ref β€” indicates that an invalid battery reference was made in the Get_Battery_Status request. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

the SEE ALSO squad is:

  • Kernel file ./include/linux/usb/pd.h struct
  • pd_chunked_ext_message_data(9)
  • struct pd_message(9)
  • struct sink_caps_ext_msg(9)

byeee 🫢 source/version: ./include/linux/usb; date: October 2026. BSDO(9) is out β€” slay forever πŸ’…βœ¨

πŸ“¦ where this page comes from