Call parent constructor
Fix device log format
Fix audio accounting logic
Optimize file access
Fix constructor call
Fix CPU state-update logic
Make code more readable
Add more constraints to foreground detector
Use Java clock
Add alternative for retrieving uid from pid