-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Closed
Description
- Electron 1.4.14 (upgrade to 1.4.15 doesn't help)
- Operating system: windows 10 (only on tablets. like this one(http://shop.lenovo.com/us/en/tablets/ideapad/miix/miix-310/), wasn't checked on surface devices)
electron.powerMonitor.on('suspend', () => {
console.log('GOING TO SLEEP!');
mainWindow.send('custom-suspend');
});
This code works well on the PC and laptop win10, but on the tablet with win10 it does nothing. I can't see my console.log and don't get my custom event.
I've tried to install every win10 updates - it doesn't help.
I've tried to play with tablet mode on both laptop and tablet devices - there is no differences: tablet doesn't trigger event in the both modes, laptop does trigger event in both modes...
I use https://github.com/chentsulin/electron-react-boilerplate for my project, if it matters. For out project we use two different ways to build package, and have the same behavior in both packages.
noahbenham and mrobrian