arduino pro mini sleep / wake up with adxl345

I am sorry, I am not sure which change eaxtly you want me to do. Do you want me to change line 115?

115 is an empty line in the code you posted. I thought about line 117. Change LOW to RISING.