I am attempting to operate a android application as the screen is black, i made use of something and that i tryed to include additionally a WakeLock from the type "PARTIAL_WAKE_LOCK".

The service play an audio lesson and save data in the accelerometer towards the db, however when i press the red-colored phone button to create the screen black, it take part in the song however it don't save data towards the db. Have anybody a concept of why it don't save data towards the db?

Tnk's

Valerio