Set the software not to be battery optimized
240KW/400KW industrial rooftop - commercial rooftop - home rooftop, solar power generation system.
Please do not try to limit charging of a modern Li-Ion laptop battery, this is absolutely useless and can cause issues with Windows "Modern Standby protocol" Browse this forum and you may find that the general consensus is very negative on "Battery Longevity" theory that unfortunately major laptop vendors still have implemented in their software, but Acer no longer does.