Class android.app.usage.UsageStats

Added Methods
long getLastTimeForegroundServiceUsed()  
long getLastTimeVisible()  
long getTotalTimeForegroundServiceUsed()  
long getTotalTimeVisible()