view 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
line wrap: on
line source

# 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