An efficient real-time monitoring to manage home-based oxygen therapy