Htc butterfly power switch ways.
Just apply jumper from the 12th pin in the flex cable in the image below to the positive of the power switch.
This solution works 100% on the following conditions.
1: If phone charges when connected to charger but does not power on.
2: if flex cable is broken.