I've done that with different chips,but on the same SOC. This link helped me a lot https://medium.com/@pal.mohit.singh/android-battery-architecture-code-and-additions-1db58c7aa086
Il giorno mercoledì 26 febbraio 2020 20:29:10 UTC+1, Donal Morrissey ha scritto: > > Hi There, > We're creating a custom Android device based on the NXP iMX8M Mini and > want to add our a BQ24250 charge management chip and a MAX17055 fuel gauge. > Both of these have been added to our Android kernel and the devices > detected at boot time. > How do we integrate these devices with Android so that the charge state > and current battery charge level are reported in the Android OS? > Thank you, > Donal > > > The content of this e-mail, including any attachments it may contain, is > intended only for the recipient(s) named above. It may contain information > that is confidential, subject to copyright, or otherwise legally protected > against disclosure. If you have received this e-mail in error please notify > the author and delete it from your system. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/53bb5adb-a386-47ba-a79c-2720bbc7ffa2%40googlegroups.com.