Revert "misc: Remove psensor, pocket mode code"

This reverts commit d873ad3ccbdaa6afe0ea0348a4bbcc11095dbf27.