FreeCalypso > hg > fc-battery-conf
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:d4dd4d0aee88 | 3:21e5933fcc7c |
---|---|
1 # This charging config is intended for those usage scenarios in which the | |
2 # phone has the charging power source permanently connected 24x7x365, | |
3 # e.g., if it is used as a pseudo-modem connected to a server. | |
4 # This config maintains the battery at a lower charge level in order to | |
5 # prolong its life; on-battery runtime is not relevant when the phone is | |
6 # permanently connected to a server or somesuch. | |
7 | |
8 start-threshold 3750 # mV | |
9 restart-threshold 3750 # mV | |
10 charge-to-voltage 3920 # mV | |
11 overvoltage 4000 # mV | |
12 | |
13 # For the current settings, keep in mind that C1xx phones use a current | |
14 # measurement resistor of 0.15R instead of TI's "canonical" value of 0.20R, | |
15 # hence the conversion factor between mA and ADC/DAC numbers changes | |
16 # accordingly. The CI current setting is based on what Motorola's fw | |
17 # has been observed to set, but the end current setting is our own. | |
18 | |
19 ci-current 280 # DAC units, about 320 mA | |
20 end-current 88 # ADC units, about 100 mA | |
21 | |
22 # Motorola's fw does not seem to use the I2V offset mechanism, | |
23 # but we use the same setting as Pirelli. | |
24 | |
25 i2v-offset 0x18 # register setting |