-
- Downloads
power: qpnp-fg-gen3: Fix DC battery detection.
Current code reads the dc_batt_id and id_range_pct values from the DT after they are used in is_dc_batt_id. Fix this code to load the DT properties when they are needed, and also add a fake charge counter value. Bug: 111000040 Test: Battery charging works normally on a device with a real battery. DC battery is detected correctly on a device with a power supply, and charging is disabled. Charge counter is non-zero. Change-Id: I82ffedcfcc09c83750b48d35c60f6ca299b502b3
Loading
Please register or sign in to comment