MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / isUsingBatteryBsd

Function isUsingBatteryBsd

lib/models/hardware-info.js:38–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38function isUsingBatteryBsd() {
39 const apm = isUsingBatteryApm();
40
41 if (apm !== null) {
42 return apm;
43 }
44
45 return isUsingBatteryUpower();
46}
47
48function isUsingBatteryDarwin() {
49 try {

Callers 1

isUsingBatteryFunction · 0.85

Calls 2

isUsingBatteryApmFunction · 0.85
isUsingBatteryUpowerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…