The problem is that the processes d.process.media and sdcard do not stop running at all thus causing a constant battery drain. Therefore I looked which android processes might run in the background and found MicroG settings running and DB Navigator (German Railway App) although I did not start any of these. Maybe it is one of these that prevents d.process.media from stopping. I will deinstall DB Navigator and see …