description: "LGC KT0020G010 AP16L8J" compatible: "lgc,ap16l8j" include: battery-smart.yaml properties: enum-name: type: string default: "lgc,ap16l8j" # Fuel gauge manuf_name: default: "LGC KT0020G010" device_name: default: "AP16L8J" ship_mode_reg_addr: default: 0x3A ship_mode_reg_data: default: [ 0xC574, 0xC574 ] # Documentation: b/148625782 # ManufacturerAccess() 0x0054 OperationStatus # CHG (Bit 2): CHG FET status (1 = Active 0 = Inactive) # DSG (Bit 1): DSG FET status (1 = Active 0 = Inactive) fet_mfgacc_support: default: 1 fet_reg_mask: default: 0x0002 fet_disconnect_val: default: 0x0000 fet_cfet_mask: default: 0x0004 fet_cfet_off_val: default: 0x0000 # Battery info voltage_max: default: 8700 voltage_normal: default: 7500 voltage_min: default: 6000 precharge_current: default: 256 start_charging_min_c: default: 0 start_charging_max_c: default: 50 charging_min_c: default: 0 charging_max_c: default: 60 discharging_min_c: default: -20 discharging_max_c: default: 75