FreeCalypso > hg > fc-battery-conf
annotate charging-v1/pirelli/permausb @ 9:f316294a3ad0 default tip
batteries/pirelli: add battery bars thresholds
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 05 Nov 2020 20:53:29 +0000 |
parents | c9b859e994cf |
children |
rev | line source |
---|---|
0
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # This charging config is intended for those usage scenarios in which the |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # phone is permanently connected to USB and cannot function at all without |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 # this USB connection (pseudo-modem operation), and runs FreeCalypso fw |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 # permanently as well, i.e., flashed rather than fc-xram. This config |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # maintains the battery at a lower charge level in order to prolong its |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # life; on-battery runtime is not relevant when the phone cannot do anything |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 # useful without being connected to a host computer via USB. |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 start-threshold 3750 # mV |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 restart-threshold 3750 # mV |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 charge-to-voltage 3920 # mV |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 overvoltage 4000 # mV |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ci-current 610 # DAC units |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 end-current 122 # ADC units |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
5e84dc86a0bd
starting set of configs for the Pirelli
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 i2v-offset 0x18 # register setting |