# HG changeset patch # User Mychaela Falconia # Date 1512004529 0 # Node ID 5e84dc86a0bd3be4582c3fc782273dc99c7f365f starting set of configs for the Pirelli diff -r 000000000000 -r 5e84dc86a0bd batteries/pirelli --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/batteries/pirelli Thu Nov 30 01:15:29 2017 +0000 @@ -0,0 +1,25 @@ +# This table of battery millivolts to state-of-charge percentages +# is assumed to be correct for Pirelli's battery, as it is used by +# Pirelli's firmwares. It may or may not be correct for other +# FreeCalypso phone batteries. + +4170 100 +4120 95 +4070 90 +4030 85 +3964 80 +3930 75 +3900 70 +3882 65 +3847 60 +3805 55 +3786 50 +3771 45 +3759 40 +3750 35 +3745 30 +3737 25 +3719 20 +3688 15 +3663 10 +3539 5 diff -r 000000000000 -r 5e84dc86a0bd charging/pirelli/manual --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/pirelli/manual Thu Nov 30 01:15:29 2017 +0000 @@ -0,0 +1,16 @@ +# This charging config is intended for those usage scenarios in which your +# Pirelli phone runs FreeCalypso fw only occasionally, with manual loading +# via fc-xram for every session, and when you desire to have the ability +# to charge when running FC fw, but not have charging happen automatically +# on every fc-xram run. With this config charging will only happen when +# explicitly requested via AT@CHARGE=1. + +start-threshold never +restart-threshold 3900 # mV +charge-to-voltage 4200 # mV +overvoltage 4280 # mV + +ci-current 610 # DAC units +end-current 122 # ADC units + +i2v-offset 0x18 # register setting diff -r 000000000000 -r 5e84dc86a0bd charging/pirelli/permausb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/pirelli/permausb Thu Nov 30 01:15:29 2017 +0000 @@ -0,0 +1,17 @@ +# This charging config is intended for those usage scenarios in which the +# phone is permanently connected to USB and cannot function at all without +# this USB connection (pseudo-modem operation), and runs FreeCalypso fw +# permanently as well, i.e., flashed rather than fc-xram. 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 cannot do anything +# useful without being connected to a host computer via USB. + +start-threshold 3750 # mV +restart-threshold 3750 # mV +charge-to-voltage 3920 # mV +overvoltage 4000 # mV + +ci-current 610 # DAC units +end-current 122 # ADC units + +i2v-offset 0x18 # register setting diff -r 000000000000 -r 5e84dc86a0bd charging/pirelli/userphone --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/pirelli/userphone Thu Nov 30 01:15:29 2017 +0000 @@ -0,0 +1,15 @@ +# This charging config will be appropriate if we ever produce a FreeCalypso +# fw version for the Pirelli DP-L10 that functions as an end user phone, +# or if we produce our own Pirelli-like phone hardware with the same USB +# arrangement for both charging and computer connection. + +start-delay 600 # ms +start-threshold 3900 # mV +restart-threshold 3900 # mV +charge-to-voltage 4200 # mV +overvoltage 4280 # mV + +ci-current 610 # DAC units +end-current 122 # ADC units + +i2v-offset 0x18 # register setting