Basic battery and master volume control.
Changed -O0 to -O3