jwise / x2100-ec

Patches for 51nb X2100 Embedded Controller firmware
17 stars 4 forks source link

KingSener battery #6

Closed exander77 closed 3 years ago

exander77 commented 3 years ago

When I am using the KingSener battery, it charges and discharges almost fine. But during the charging process, once a minute or so it reports discharing and then goes to charging it again. Sometimes I need to reconnect the charger.

Seems like some cycling inside the battery charging process causes EC to detect it as discharging.

exander77 commented 3 years ago

I looked here: https://github.com/jwise/x2100-ec/tree/master/notes And could you give me some heads up on what I should focus on if I tried to modify the EC for this?

exander77 commented 3 years ago

My ACPI listen:

$  acpi_listen 
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
ac_adapter ACPI0003:00 00000080 00000000
battery PNP0C0A:03 00000080 00000001
ac_adapter ACPI0003:00 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
ac_adapter ACPI0003:00 00000080 00000000
battery PNP0C0A:03 00000080 00000001
ac_adapter ACPI0003:00 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
battery PNP0C0A:03 00000080 00000001
exander77 commented 3 years ago

Can you share a Ghidra project?

exander77 commented 3 years ago

Maybe it is just adapter/battery combination? I switched to 90W, and seems fine for now.

exander77 commented 3 years ago

Yes, it is an adapter issue, closing.