I have a core I7 Envy laptop Hp; when I shutdown my computer last everything was fine then 5minutes later a wouldn't turn on.

Solution
Have you made sure it is charging? First try checking the charger cord to see if it is working. If not, try using a different cord and see if that resolves the problem. If it does, well then you just need/needed a new cord. If it doesn't, then I would try a new battery.
Have you made sure it is charging? First try checking the charger cord to see if it is working. If not, try using a different cord and see if that resolves the problem. If it does, well then you just need/needed a new cord. If it doesn't, then I would try a new battery.
 
Solution