File tree 2 files changed +2
-10
lines changed 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1263,11 +1263,7 @@ extension Device {
1263
1263
1264
1264
/// The user enabled Low Power mode
1265
1265
public var lowPowerMode : Bool {
1266
- if #available( iOS 9 . 0 , * ) {
1267
- return ProcessInfo . processInfo. isLowPowerModeEnabled
1268
- } else {
1269
- return false
1270
- }
1266
+ return ProcessInfo . processInfo. isLowPowerModeEnabled
1271
1267
}
1272
1268
1273
1269
/// Provides a textual representation of the battery state.
Original file line number Diff line number Diff line change @@ -883,11 +883,7 @@ extension Device {
883
883
884
884
/// The user enabled Low Power mode
885
885
public var lowPowerMode: Bool {
886
- if #available(iOS 9.0, *) {
887
- return ProcessInfo.processInfo.isLowPowerModeEnabled
888
- } else {
889
- return false
890
- }
886
+ return ProcessInfo.processInfo.isLowPowerModeEnabled
891
887
}
892
888
893
889
/// Provides a textual representation of the battery state.
You can’t perform that action at this time.
0 commit comments