[Desire HD Android Development] alienmind:
Ok, I posted this error on the wrong thread but it may be related with CM itself.

Looks like from nightly #157 I have a problem with higher battery drain than usual. Inspecting in logcat reveals repeating errors like this:

EDIT: And it's on nb #159 too.

W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2956' (Permission denied); background=1
W/ActivityManager( 1347): Failed setting process group of 2956 to 1
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12205)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.serviceDoneExecutingLocked(ActivityManagerService.java:9838)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.serviceDoneExecuting(ActivityManagerService.java:9808)
W/System.err( 1347):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:705)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
W/System.err( 1347):	at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 1347):	at dalvik.system.NativeStart.run(Native Method)
D/WifiService( 1347): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@40c29f78}
W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2339' (Permission denied); background=0
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/ActivityManager( 1347): Failed setting process group of 2339 to 0
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12249)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.deliverToRegisteredReceiverLocked(ActivityManagerService.java:10906)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:11121)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:10665)
W/System.err( 1347):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:342)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
W/System.err( 1347):	at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 1347):	at dalvik.system.NativeStart.run(Native Method)
W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2339' (Permission denied); background=1
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/ActivityManager( 1347): Failed setting process group of 2339 to 1
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12249)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.deliverToRegisteredReceiverLocked(ActivityManagerService.java:10906)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:11121)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:10665)
W/System.err( 1347):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:342)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
W/System.err( 1347):	at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 1347):	at dalvik.system.NativeStart.run(Native Method)
W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2956' (Permission denied); background=0
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/ActivityManager( 1347): Failed setting process group of 2956 to 0
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12205)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.bringDownServiceLocked(ActivityManagerService.java:9134)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.stopServiceToken(ActivityManagerService.java:9354)
W/System.err( 1347):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:632)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
W/System.err( 1347):	at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 1347):	at dalvik.system.NativeStart.run(Native Method)
W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2956' (Permission denied); background=1
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12205)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.serviceDoneExecutingLocked(ActivityManagerService.java:9838)
W/ActivityManager( 1347): Failed setting process group of 2956 to 1
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.serviceDoneExecuting(ActivityManagerService.java:9808)
W/System.err( 1347):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:705)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
W/System.err( 1347):	at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 1347):	at dalvik.system.NativeStart.run(Native Method)
D/dalvikvm( 2339): GC_EXPLICIT freed 25K, 51% free 2774K/5575K, external 0K/0K, paused 50ms
D/dalvikvm( 2956): GC_EXPLICIT freed 196K, 43% free 4037K/6983K, external 0K/0K, paused 72ms
W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2060' (Permission denied); background=0
W/ActivityManager( 1347): Failed setting process group of 2060 to 0
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12249)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerService.java:1721)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:1728)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.processCurBroadcastLocked(ActivityManagerService.java:10815)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:11203)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.access$100(ActivityManagerService.java:147)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:1109)
W/System.err( 1347):	at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1347):	at android.os.Looper.loop(Looper.java:130)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1364)
W/SchedPolicy( 1347): add_tid_to_cgroup failed to write '2060' (Permission denied); background=1
W/ActivityManager( 1347): Failed setting process group of 2060 to 1
W/System.err( 1347): java.lang.SecurityException: No permission to set to given group
W/System.err( 1347):	at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12162)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12249)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:11016)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:10665)
W/System.err( 1347):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:342)
W/System.err( 1347):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
W/System.err( 1347):	at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 1347):	at com.android.server.SystemServer.init1(Native Method)
W/System.err( 1347):	at com.android.server.SystemServer.main(SystemServer.java:713)
W/System.err( 1347):	at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1347):	at java.lang.reflect.Method.invoke(Method.java:507)
W/System.err( 1347):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
W/System.err( 1347):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
W/System.err( 1347):	at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm( 2060): GC_EXPLICIT freed 28K, 56% free 2905K/6535K, external 507K/1019K, paused 41ms

Process 1347 is system_server

ps | grep 1347
system 1347 1251 241360 59284 ffffffff afd0b77c S system_server

Anyone else with this error?