{'fraction_non_alphanumeric': 0.015945330296127564, 'fraction_numerical': 0.0, 'mean_word_length': 5.7615384615384615, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
ModeSens: an approach for multi-modal mobile sensing

The growing ubiquity of personal connected devices has created the opportunity for a range of applications which tap into their sensors. The sensing requirements of applications often dynamically evolve over time depending on contextual factors, evolving interest in different types of data, or simply to economize resource consumption. The code implementing this evolution is typically mixed with that of the application's functionality. Here we separate the two concerns by modeling the evolution of sensing requirements as transitions between modes. The paper describes ModeSens, an approach to modeling and programming multi-modal sensing requirements of applications. The approach improves programmability by enhancing modularity. Our experimental evaluation measures the performance and energy costs of using ModeSens.