freezer: add some missing functions

Signed-off-by: flar2 <asegaert@gmail.com>

idea is taken here -
https://github.com/flar2/m8-Sense/commit/7a4ae7b083b3a5a95c41bc9e11a9a85dfd996888