Hardware Interrupts

Post the sketch - typically one uses the internal pullup to hold the input pin high, and the pushbutton is used to connect the pin to ground - then the code tests for a low.
Or look for a Low interrupt to wake up with.