Error 5 indicates a battery problem Try this link and see if this will help [https://homesupport.irobot.com/app/answers/detail/a_id/8981/~/roomba%3A-charging-error-5]
open