What does le_ips use under the hood?

Hello,

I was looking at the le_ips api to retreive information regarding power sourcing and their voltages, and was trying to understand where this api is retrieving the information from. Looking through the legato source code it seems to point back to a precompiled binary in the platformAdapter folder.

Could you please tell me where these values are retrieved from? Is it the modem itself, or is it trying to connect to the battery charger IC or fuel gauge IC on one of the Mangoh boards.

Thanks,

i think it is modem ifself.

Ok thanks, that makes sense.

The battery charger IC doesn’t offer voltages, and i’m having issues reading the fuel gauge anyway.

Thanks.

You can have a look on this and see if it works