no warning for notebook battery before shutdown

Solution
1.Go to Control Panel->Power Options->Change Plan Settings->Change Advanced Power Settings
2.Go to Battery->Critical battery action and then set what you need. Also try setting the Low Battery Notification to On.

Also check if your battery has worn out, that maybe a possibility!
1.Go to Control Panel->Power Options->Change Plan Settings->Change Advanced Power Settings
2.Go to Battery->Critical battery action and then set what you need. Also try setting the Low Battery Notification to On.

Also check if your battery has worn out, that maybe a possibility!
 
Solution