diff charging/c1xx/permacharge @ 3:21e5933fcc7c

C1xx charging configs created
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 16 Dec 2017 17:55:16 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charging/c1xx/permacharge	Sat Dec 16 17:55:16 2017 +0000
@@ -0,0 +1,25 @@
+# This charging config is intended for those usage scenarios in which the
+# phone has the charging power source permanently connected 24x7x365,
+# e.g., if it is used as a pseudo-modem connected to a server.
+# This config maintains the battery at a lower charge level in order to
+# prolong its life; on-battery runtime is not relevant when the phone is
+# permanently connected to a server or somesuch.
+
+start-threshold		3750	# mV
+restart-threshold	3750	# mV
+charge-to-voltage	3920	# mV
+overvoltage		4000	# mV
+
+# For the current settings, keep in mind that C1xx phones use a current
+# measurement resistor of 0.15R instead of TI's "canonical" value of 0.20R,
+# hence the conversion factor between mA and ADC/DAC numbers changes
+# accordingly.  The CI current setting is based on what Motorola's fw
+# has been observed to set, but the end current setting is our own.
+
+ci-current		280	# DAC units, about 320 mA
+end-current		88	# ADC units, about 100 mA
+
+# Motorola's fw does not seem to use the I2V offset mechanism,
+# but we use the same setting as Pirelli.
+
+i2v-offset		0x18	# register setting