diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/PowerService.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/PowerService.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Services/PowerService.cs b/win/CS/HandBrakeWPF/Services/PowerService.cs index 9239a2cd2..e73027f57 100644 --- a/win/CS/HandBrakeWPF/Services/PowerService.cs +++ b/win/CS/HandBrakeWPF/Services/PowerService.cs @@ -3,11 +3,10 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // </copyright> // <summary> -// The Error Service +// The Power Service // </summary> // -------------------------------------------------------------------------------------------------------------------- - namespace HandBrakeWPF.Services { using System; @@ -17,7 +16,6 @@ namespace HandBrakeWPF.Services { private void GetPowerState() { - System.Management.ObjectQuery query = new ObjectQuery("Select * FROM Win32_Battery"); ManagementObjectSearcher searcher = new ManagementObjectSearcher(query); @@ -30,7 +28,6 @@ namespace HandBrakeWPF.Services Console.WriteLine("Property {0}: Value is {1}", property.Name, property.Value); } } - } } } |