Explore the intricacies of the Linux kernel's power-supply subsystem in this 25-minute conference talk by Sebastian Reichel from Collabora. Gain insights into the handling of batteries and battery chargers in embedded mobile devices running Linux. Delve into an overview of the subsystem, covering hardware aspects like smart batteries, and the sysfs and uevent API exposed to userspace. Learn about implementing a template driver instantiated from device tree and common pitfalls to avoid. Examine the subsystem's shortcomings and future improvements. Benefit from Reichel's expertise as a kernel subsystem maintainer for MIPI HSI and power-supply, drawing from his experience with mainline kernel support for various mobile devices.