mediaserver and media draining the battery and makes the CPU on its highest value all the time..
and only stops when unmount the SD card !! and happend again when remounting it !!!!
Device : Xperia Arc S
Kernel : Dark kernel based on 3.4.x
Android : kitkat 4.4.2
ROM : AOSP by @fakhrodn
after alot of tries (fresh install the ROM, changing the ROM, changing the kernel) found the sol.
the problem solved when I deleted the "4 GB" of photos on my SD !!