meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.35k stars 816 forks source link

Add MAX17048 lipo fuel gauge #4851

Closed dhskinner closed 2 days ago

dhskinner commented 3 days ago

This PR adds MAX17048 lipo fuel gauge as a new power sensor for the telemetry & power module

Its linked to https://github.com/meshtastic/protobufs/pull/540 that added the necessary enums to telemetry.proto

This follows pretty much same pattern as other Telemetry sensors, as well as adding requisite code to integrate this sensor into the device power functionality in similar fashion to the axp192 power management IC

This one is a do-over because I screwed up the original PR with an issue raising the PR from another organisation account.

Appreciate your review and any comments

fifieldt commented 3 days ago

Welcome back :)

dhskinner commented 3 days ago

Welcome back :)

Thanks :)