1)Check your charger, does it charge a spare Nokia mobile phone? If it doesn't, you will need to replace, either your Nokia charger or the charging block connector, on your Nokia e7.
2)Hard reset your Nokia e7.
3)Update the firmware to the latest version.
4)Replace the battery.
5)Replace the power button.