~/talk

Charging a Battery with Zephyr

links:none on file
slides:none on file

Zephyr now contains an upstreamed charger driver API with three handlers: get_property, set_property and charge_enable handler, plus a sample application that runs an infinite charging task loop polling the charger online status, switching on charging, reading charge type/health and ending on full. Device tree uses battery.yaml for static pack specs, properties are extensible for vendor fields, and an online notifier supports interrupt-based chips; limiting charge to 85% is done in application by setting the appropriate property.

AI-written summary · about

  1. 0:00Battery charging with Zephyr
  2. 2:33Charger fundamentals overview
  3. 10:02Software-controlled charging
  4. 11:25Zephyr charger driver API
  5. 15:40Property caching and interrupts
  6. 17:09Charger sample app
  7. 21:46Future Zephyr charging
  8. 23:52Q&A on charge limits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.