Laptop batteries are prone to deterioration over time. The battery's maximum charge holding capacity degrades with time as a result…