Detecting USB flashdrives

Hmmm - interesting.
I was going on the theory that if your app is checking anything at regular intervals - the processor will be in use - thus preventing the OS putting the system to sleep.

Is this not the case?
Can the OS put a system to sleep, if an app is using the processor to perform checks?

Nothing helps for linux :stuck_out_tongue:
There may be some low level systems you can hook into there but I dont know them

[quote=176148:@Richard Summers]Hmmm - interesting.
I was going on the theory that if your app is checking anything at regular intervals - the processor will be in use - thus preventing the OS putting the system to sleep.

Is this not the case?
Can the OS put a system to sleep, if an app is using the processor to perform checks?[/quote]

You can also put your app to sleep if it is not used for a while.

For windows you might have a look at this link: https://forum.xojo.com/16033-how-to-detect-insertion-of-usb-drive

Actually, I think checking the volumes in a timer as suggested might work.
The application upgrade should only be done by a technician anyway, so I could put the upgrade functionality in the “service menu”.

I’ll try it out tomorrow and keep you posted.
Thanks, guys!