topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 6, 2024, 5:43 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: ScreenshotCaptor now prevents CPU from going to low-power mode  (Read 4402 times)

sba

  • Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 57
    • View Profile
    • Donate to Member
Hi,

While investigating my laptop's power consumption using "powercfg /energy" I noticed that ScreenshotCaptor is now listed as one of the processes that use the CPU in such a way that prevents it from being switched to its lowest-power mode. This was not the case previously (before 4.8?).

Process Explorer seems to reveal some sort of polling: see the huge number of cycles and context switches in the attached screenshot.

Can you please look into this (and fix the issue)?

Best regards,

Stéphane.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: ScreenshotCaptor now prevents CPU from going to low-power mode
« Reply #1 on: May 26, 2014, 03:06 PM »
Can you check this:

Go to "Startup Options" tab, and look where it says "Inactive Memory Use" -- and make sure you don't have it set to "Stay in Memory Longer" (try Minimal Memory Use).
I don't know if that will solve it -- it may be polling for changes to the screenshot folder to check for changes.. If so, i *might* be able to add an option to disable that.. though it could be messy.

sba

  • Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 57
    • View Profile
    • Donate to Member
Re: ScreenshotCaptor now prevents CPU from going to low-power mode
« Reply #2 on: May 27, 2014, 02:18 AM »
The "memory" option, as expected, doesn't affect the polling.

You don't need to poll to discover changes in a directory: use FindFirstChangeNotification (http://msdn.microsof...364417(v=vs.85).aspx) to get notified when something happens in the screenshot folder.

sba

  • Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 57
    • View Profile
    • Donate to Member
Re: ScreenshotCaptor now prevents CPU from going to low-power mode
« Reply #3 on: June 13, 2014, 12:11 AM »
Any  news?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: ScreenshotCaptor now prevents CPU from going to low-power mode
« Reply #4 on: June 13, 2014, 07:00 AM »
Can you email me ([email protected]) -- i'd like to try making a special build to see if we can figure out which library/component is doing the polling and go from there.