I am using this package to get the duration, an app remains in foreground, but it is returning a strange number which is entirely different.