Buttons on smart phones can sometimes fail. Whether it is the power button, home button or speaker/volume buttons these can all be replaced.
Sometimes buttons are not working due to damage in the casing following a drop of the device. We can normally straighten out the frames and sometimes the buttons will not even need to be replaced following this procedure.