The 10k preset must be adjusted to set the full charge level while the 22k preset for detecting the lower threshold of the battery.
The above design appears to have one problem, it won't be able to detect low battery thresholds, the design should be rather configured in the following manner: