Text this: A multimode and multithreshold approach for energy efficiency in Internet of things systems