diff rvinterf/etmsync/fsio.help @ 819:7b24c192a1e1

fc-fsio help: document write-bsim-config
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 May 2021 03:15:03 +0000
parents 28d58a8cd704
children
line wrap: on
line diff
--- a/rvinterf/etmsync/fsio.help	Sat May 15 02:31:44 2021 +0000
+++ b/rvinterf/etmsync/fsio.help	Sat May 15 03:15:03 2021 +0000
@@ -36,6 +36,7 @@
 upload-subtree		Upload a subtree into device FFS
 write-battery-table-v1	Upload table of battery thresholds into device FFS (v1)
 write-battery-table-v2	Upload table of battery thresholds into device FFS (v2)
+write-bsim-config	Create Battery Simulation configuration file
 write-charging-config	Upload FCHG configuration into device FFS
 
 To get help on any command, type help and the command keyword.
@@ -344,6 +345,15 @@
 binary format made by write-battery-table-v1 discards the battery bars icon
 thresholds that were added in v2.
 
+=== write-bsim-config
+write-bsim-config init-percent start-enable
+
+This command writes a /etc/batterysim file into target device FFS, enabling and
+configuring the battery simulation (BSIM) mode in FC Tourmaline firmware.
+init-percent and start-enable are BSIM configuration parameters.
+
+To disable BSIM, do 'rm /etc/batterysim'.
+
 === write-charging-config
 write-charging-config src-file