The application relates to a charging method and device,
computer equipment, a storage medium and a
computer program product. The method comprises the following steps: after determining that a charging interface of a
backup battery establishes a connection, determining whether the
backup battery can be charged according to a vehicle initial ignition state, an initial temperature of the
backup battery and a pre-configured temperature condition range; in the case of determining that the
backup battery can be charged, acquiring a
voltage of the
backup battery and a duration of the vehicle ignition state; determining a charging mode of the
backup battery according to the
voltage of the backup battery, a pre-configured
voltage condition threshold and the duration of the vehicle ignition state, and controlling the charging of the backup battery according to the charging mode, wherein the charging mode comprises a
constant current mode or a
trickle current mode; and determining whether to stop charging the backup battery according to the charging mode and the pre-configured temperature condition range. The method can reduce the performance loss of the backup battery and is beneficial to improving the service life of the backup battery.