My hp pavillion was no power, please give an advise.
There could be a problem with the battery. A fast check to determine whether you have a problem with the power adapter, power cord or the laptop's battery is to turn off the laptop, remove the battery, connect the power adapter, turn on the laptop & see if it works.
If the laptop works directly from the power adapter with the battery removed, then the power adapter is good. In this case we can suspect that the battery is defective & needs to be replaced.
To verify this, unplug your laptop & try to run it on battery only. Watch out how long it will stay on (if at all). If it didn't work on battery alone, or worked but for a very short time, then your battery is defective.