I'm looking for a way to detect when a user has gone to sleep so that I can then do something. I noticed the isSleepMode method is deprecated, is it being replaced with anything or are there other alternatives that I missed when looking through the docs that I can use to detect this? Thanks!