Skip to content

Commit ca34efe

Browse files
vantomanvbajs
authored andcommitted
power: ti: pd_policy_manager: Increase hysteresis to 30 mV
provides more tolerance before adjusting the battery voltage, which should help stabilize the charging process and prevent the battery voltage from oscillating around the limit. This addresses the issue where the charger disconnects and reconnects frequently. Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>
1 parent 78ae57a commit ca34efe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/power/supply/ti/pd_policy_manager.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,7 @@ enum pm_state {
107107
#define TAPER_WITH_IBUS_HYS 60
108108
#define TAPER_IBUS_THR 450
109109

110-
#ifdef CONFIG_K6_CHARGE
111-
#define BQ_TAPER_HYS_MV 10
112-
#else
113110
#define BQ_TAPER_HYS_MV 30
114-
#endif
115111

116112
#define BQ_TAPER_DECREASE_STEP_MA 200
117113

0 commit comments

Comments
 (0)