This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Power Profile UI is frozen for a while when switching back to its windows from another application.

Hi

I'm using the nRF Connect Power Profiler UI with the Power Profile Kit II. It works great but has one annoying behavior.
When I run the Power Profiler in sampling mode and switch to another application and then switch back to the Power Profiler UI after some time the Power Profiler UI is completely frozen and unresponsive. It recovers after some time. I even have the impression, that the recovery time depends is on how long it was running in the "background". It only happens when the sampling is running. If the sampling is not running I can switch back to the Power Profiler UI, and it is immediately responsive. Is it possible that there are some queues filling up with data and they do not get processes if the UI does not have the focus? 
 
 

Here the System Report generated by the nRF Connect Power Profiler :

# nRFConnect System Report - 2021-02-02T12-30-30.267Z

- System: Apple Inc. MacBookPro11,3
- BIOS: Apple Inc.
- CPU: 1 x IntelRegistered CoreTm i7-4980HQ 2.80 GHz 8 cores (4 physical)
- Memory: 242 MB free of 16 GB total
- Filesystem: /dev/disk1s5 (HFS) 465.7 GB 2.3% used

- OS: Mac OS X (10.15.7) darwin x64

- Versions
- kernel: 19.6.0
- git: 2.24.3
- node: 12.13.0
- python: 2.7.16
- python3: 3.8.2

- Connected devices:
- /dev/tty.usbmodemFC6262CB60062: FC6262CB6006

Thanks and regards
Franz

Related