Today Morning, I was trying to upgrade Ubuntu 13.04 to 13.10 and suddenly power get fails and my system shutdown.
and after that my when I try to own the system . it hangs at “Checking battery state” while booting.
So after that following steps was done to solve the problem
press ALT + F5 to login through terminal (Command Prompt).
and then rune the command “sudo apt-get install -f”
and then run “sudo dpkg –configure -a “
and then “sudo reboot”
and after reboot it works perfect 🙂