Skip to content
Snippets Groups Projects
Verified Commit bf2ce43d authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

shipmode: Enable Hi-Z mode using kernel interface

Since kernel 6.3, bq25890 driver allows to enable Hi-Z via sysfs.
parent 32481061
No related branches found
No related tags found
1 merge request!353shipmode: Enable Hi-Z mode using kernel interface
......@@ -24,6 +24,6 @@ fi
# Only continue setting ship mode when running on battery.
# Connecting a charger will turn on the phone. The battery will
# not have been discharged in the meantime though:
i2cset -f -y 3 0x6a 0x00 0x88
echo 0 > /sys/class/power_supply/bq25890-charger/online
# shut off the battery with 10-15 second delay
i2cset -f -y 3 0x6a 0x09 0x6e
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment