screen become dim/off when plotting data. their is api for disabling screen dimming/off. the first two answer should help. http://stackoverflow.com/questions/4195682/android-disable-screen-timeout-while-app-is-running