Make arduino save power

I would like to keep the hardware the same. Isnt there any code to save battery?