Charging current - BATTERY_PROPERTY_CURRENT_NOW

Does the Samsung mobile phone return the value of charging current in milli Ampere or in micro Ampere. On an S10 (SM-G973F) running on Android 11.

BATTERY_PROPERTY_CURRENT_NOW
As per android documentation it is in micro Ampere.

Where can I find the documentation specific to Samsung ?

Hello anil.chesswon4u,
Welcome to the community!
According to our development team, the battery current is measured in microamperes.

Thank you.

Dear @ssaha, in recent tests on a Samsung Z Fold 3 (SM-F926U1, Android 12, kernel version 5.4.86-qgki) the BatteryManager API reported instantaneous and average battery current in milliamps (mA) rather than in microamps (µA) as specified in the API documentation.

This apparent non-compliant behavior was verified by integrating reported current values[1] over time and comparing to the battery charge counter[2] (see attached figure). Could you please check with the development team again?

image

[1] – BATTERY_PROPERTY_CURRENT_NOW, BATTERY_PROPERTY_CURRENT_AVERAGE: incorrectly reported in mA
[2] – BATTERY_PROPERTY_CHARGE_COUNTER: correctly reported in µA*hr

[edit: added data file]
Data collected for this test:
zf3data.txt (769 Bytes)

hazelmarissa1

I don’t know but i thought about is cleared.

Sorry, but I don’t understand your response. What is cleared?

They edited their post and added a hidden spam link. They are not providing input sorry.