Railways working on device that can detect if driver is drowsy: Report