According to Wikipedia,
Deprecated Tools "You can still use it, but donβt count on it because we will most likely replace it with something else (or completely remove it) in future releases of the software."
In general terms, this means that there is a better way to do this, and an obsolete method should be avoided. In addition, legacy methods are also not backward compatible and may be removed in future versions.
Developer website clearly states
"The battery life of the device will greatly depend on the use of this API. Do not purchase PowerManager.WakeLocks, if they really do not need you, use the minimum levels and do not forget to release them as soon as possible."
Deepak
source share