If your phone is only powering on when connected to a charger than there is likely an issue with the battery.
open