Chosen Solution
I have replaced the battery with the new one and still after charging it says please charge the roomba
Error 5 indicates a battery problem Try this link and see if this will help https://homesupport.irobot.com/app/answe…
xkubasj: The reason is that this charger has different parameters than the original one. Although the original power supply has nominal output voltage 22.5 V, the voltage drops to approx. 19.1V under 1A load. This third-party adaptor however holds nominal voltage 22.5V which leads to increased charging current about 3A. Roomba’s charge controller than switches to fail-safe mode.
Here is a good step by step: https://yoursmarthomeguide.com/smart-app…
Did you get genuine iRobot battery? Otherwise, suggest to check steps mentioned here (cleaning contacts, etc.): https://homesupport.irobot.com/app/answe…