Added back pl_sensor structure to support pocket detect