2022-10-24 12:29 AM
We want to develop a USB-C charger and we need to check the battery charge percentage of the device connected to the USB-C charger. The connected to de USB-C device can be a Smartphone, Tablet or PC.
In our charger we are going to integrate a processor and we need to read the battery percentage of the device that is being charged
Is it possible to read the battery percentage of the device connected by USB-C? Any ST reference can do this job?
2022-10-24 03:32 AM
Hello
Battery_status message can provide SOC of sink.
The info will be available only on PD3 sink (designed with version >= PD3.0 v1.2).
PD2 devices don't have such message.
Those informations are handled in dpm_user part and need to be updated by user/customer.
Best regards
2022-10-25 12:05 AM
Hello NBALL,
Thanks for the info. Do you know of any component that I can integrate into my design that will allow charging and communication with PD3.0 v1.2?
Best regards,
2022-10-25 08:24 AM
Hello
In SW packages linked to stusb1602, there is compilation switch which can enable battery message feature: please see in the QuickStart document of the package you will select.
Link to the page is https://www.st.com/en/interfaces-and-transceivers/stusb1602.html#tools-software
Best regards
2024-07-17 03:42 AM
Hi DPena,
I know it's been a will since you posted this. I'm trying to implement the same as you, can you give me your feedback and did you manage to make it function?
Best regards