In this article, I'd like to present my proprietary charging algorithm, which automatically adjusts the charging current to the battery capacity. I also check a certain factor that, in my opinion, helps estimate the C20 capacity during the charging process.