[+cc Nicolas]
Hello Mike,
On Fri, Apr 12, 2024 at 08:53:58AM +0200, Mike Looijmans wrote:
The script contains some bash specific shell extensions and shouldplease share output ofWill do. Did a quick run on the driver as it is now, that yields the
./tools/testing/selftests/power_supply/test_power_supply_properties.sh
below the fold with your next submission. It's useful for verifying,
that you got the unit scaling correct for the standard properties :)
following output:
(Any thoughts on the "arithmetic syntax error" messages?)
use /bin/bash instead of /bin/sh in the shebang. Just call it with
/bin/bash ./tools/testing/... and you should get rid of them :)
Nicolas, do you want to send a fix for that to Shuah with Reported-by
from Mike?
[...]
# Reported: '1' ()[...]
ok 6 ltc3350.sysfs.online
# Reported: '711600' uA (711.6 mA)So it's full, but still getting charged with 0.7 Amps at ~23V
ok 24 ltc3350.sysfs.current_now
(i.e. 16W)? That seems quite high.