The last couple of days I've been trying to figure out which functionality in a service (background and foreground) stops working when the device falls into sleep without a wake lock. All the documentation only says that a wake lock "keeps the CPU from shutting down", but every single functionality I've tested kept working without a wake lock if I turned the screen off and unplugged the device. I've also checked via adb if another application is holding a wake lock, but the wake lock count is 0.
I've tested CPU heavy math calculations, network requests and playing music over MediaPlayer class. Everything kept working in a background service (below Oreo) without a wake lock (The network request worked on some emulators and on others not, but this was the same with and without a wake lock).
So my question is, what are examples for features that stop working on Android if the device falls into sleep?
Edit: I want to make it clear that I am not talking about DOZE. I am talking about the device going into sleep and powering down the CPU, which is supposed to happen when screen is turned off and now wake lock is acquired.
