Home
last modified time | relevance | path

Searched refs:batt (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/power/supply/
H A Dlego_ev3_battery.c67 val->intval = batt->v_max; in lego_ev3_battery_get_property()
70 val->intval = batt->v_min; in lego_ev3_battery_get_property()
112 batt->v_max = 7800000; in lego_ev3_battery_set_property()
113 batt->v_min = 5400000; in lego_ev3_battery_set_property()
161 batt = devm_kzalloc(dev, sizeof(*batt), GFP_KERNEL); in lego_ev3_battery_probe()
162 if (!batt) in lego_ev3_battery_probe()
192 batt->v_max = 84000000; in lego_ev3_battery_probe()
193 batt->v_min = 60000000; in lego_ev3_battery_probe()
197 batt->v_max = 90000000; in lego_ev3_battery_probe()
198 batt->v_min = 48000000; in lego_ev3_battery_probe()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/power/supply/
H A Dlego_ev3_battery.c67 val->intval = batt->v_max; in lego_ev3_battery_get_property()
70 val->intval = batt->v_min; in lego_ev3_battery_get_property()
112 batt->v_max = 7800000; in lego_ev3_battery_set_property()
113 batt->v_min = 5400000; in lego_ev3_battery_set_property()
161 batt = devm_kzalloc(dev, sizeof(*batt), GFP_KERNEL); in lego_ev3_battery_probe()
162 if (!batt) in lego_ev3_battery_probe()
192 batt->v_max = 84000000; in lego_ev3_battery_probe()
193 batt->v_min = 60000000; in lego_ev3_battery_probe()
197 batt->v_max = 90000000; in lego_ev3_battery_probe()
198 batt->v_min = 48000000; in lego_ev3_battery_probe()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/power/supply/
H A Dlego_ev3_battery.c67 val->intval = batt->v_max; in lego_ev3_battery_get_property()
70 val->intval = batt->v_min; in lego_ev3_battery_get_property()
112 batt->v_max = 7800000; in lego_ev3_battery_set_property()
113 batt->v_min = 5400000; in lego_ev3_battery_set_property()
161 batt = devm_kzalloc(dev, sizeof(*batt), GFP_KERNEL); in lego_ev3_battery_probe()
162 if (!batt) in lego_ev3_battery_probe()
192 batt->v_max = 84000000; in lego_ev3_battery_probe()
193 batt->v_min = 60000000; in lego_ev3_battery_probe()
197 batt->v_max = 90000000; in lego_ev3_battery_probe()
198 batt->v_min = 48000000; in lego_ev3_battery_probe()
[all …]
/dports/x11-wm/qtile/qtile-0.18.1/test/widgets/
H A Dtest_battery.py48 batt = Battery()
50 text = batt.poll()
64 batt = Battery()
66 text = batt.poll()
82 text = batt.poll()
89 text = batt.poll()
105 text = batt.poll()
112 text = batt.poll()
126 text = batt.poll()
142 text = batt.poll()
[all …]
/dports/sysutils/nut/nut-2.7.4/drivers/
H A Dblazer.c92 batt.volt.act = batt.packs * strtod(ptr, endptr); in blazer_battery()
95 (batt.volt.low > 0) && (batt.volt.high > batt.volt.low)) { in blazer_battery()
96 batt.chrg.act = 100 * (batt.volt.act - batt.volt.low) / (batt.volt.high - batt.volt.low); in blazer_battery()
576 if ((batt.volt.nom != 1) && ((batt.volt.high == -1) || (batt.volt.low == -1))) { in blazer_initbattery()
580 batt.volt.low = 104 * batt.volt.nom / 120; in blazer_initbattery()
581 batt.volt.high = 130 * batt.volt.nom / 120; in blazer_initbattery()
620 batt.volt.low = batt.volt.nom; in blazer_initbattery()
621 batt.volt.high = 1.15 * batt.volt.nom; in blazer_initbattery()
785 batt.runt.est += batt.runt.nom * difftime(now, lastpoll) / batt.chrg.time; in upsdrv_updateinfo()
786 if (batt.runt.est > batt.runt.nom) { in upsdrv_updateinfo()
[all …]
H A Dnutdrv_qx.c219 batt.volt.act = batt.packs * strtod(val, NULL); in qx_battery()
221 if (batt.chrg.act == -1 && batt.volt.low > 0 && batt.volt.high > batt.volt.low) { in qx_battery()
223 batt.chrg.act = 100 * (batt.volt.act - batt.volt.low) / (batt.volt.high - batt.volt.low); in qx_battery()
284 if (batt.volt.nom != -1 && (batt.volt.low == -1 || batt.volt.high == -1)) { in qx_initbattery()
289 batt.volt.low = 104 * batt.volt.nom / 120; in qx_initbattery()
290 batt.volt.high = 130 * batt.volt.nom / 120; in qx_initbattery()
360 batt.runt.nom = rh * pow(lh / 100, batt.runt.exp); in qx_initbattery()
372 batt.volt.low = batt.volt.nom; in qx_initbattery()
373 batt.volt.high = 1.15 * batt.volt.nom; in qx_initbattery()
2602 if (batt.runt.est > batt.runt.nom) { in qx_ups_walk()
[all …]
/dports/sysutils/nut-devel/nut-9e6a5ab2/drivers/
H A Dblazer.c96 batt.volt.act = batt.packs * strtod(ptr, endptr); in blazer_battery()
99 (batt.volt.low > 0) && (batt.volt.high > batt.volt.low)) { in blazer_battery()
100 batt.chrg.act = 100 * (batt.volt.act - batt.volt.low) / (batt.volt.high - batt.volt.low); in blazer_battery()
153 if (packs[i] * batt.volt.act > 1.2 * batt.volt.nom) { in blazer_packs()
612 batt.volt.low = 104 * batt.volt.nom / 120; in blazer_initbattery()
613 batt.volt.high = 130 * batt.volt.nom / 120; in blazer_initbattery()
652 batt.volt.low = batt.volt.nom; in blazer_initbattery()
653 batt.volt.high = 1.15 * batt.volt.nom; in blazer_initbattery()
817 batt.runt.est += batt.runt.nom * difftime(now, lastpoll) / batt.chrg.time; in upsdrv_updateinfo()
818 if (batt.runt.est > batt.runt.nom) { in upsdrv_updateinfo()
[all …]
H A Dnutdrv_qx.c232 batt.volt.act = batt.packs * strtod(val, NULL); in qx_battery()
234 if (d_equal(batt.chrg.act, -1) && batt.volt.low > 0 && batt.volt.high > batt.volt.low) { in qx_battery()
236 batt.chrg.act = 100 * (batt.volt.act - batt.volt.low) / (batt.volt.high - batt.volt.low); in qx_battery()
297 …if ( (!d_equal(batt.volt.nom, -1)) && (d_equal(batt.volt.low, -1) || d_equal(batt.volt.high, -1)))… in qx_initbattery()
302 batt.volt.low = 104 * batt.volt.nom / 120; in qx_initbattery()
303 batt.volt.high = 130 * batt.volt.nom / 120; in qx_initbattery()
373 batt.runt.nom = rh * pow(lh / 100, batt.runt.exp); in qx_initbattery()
385 batt.volt.low = batt.volt.nom; in qx_initbattery()
386 batt.volt.high = 1.15 * batt.volt.nom; in qx_initbattery()
3208 if (batt.runt.est > batt.runt.nom) { in qx_ups_walk()
[all …]
/dports/www/ot-recorder/recorder-0.8.4/etc/
H A Ddemo-iphone.rec1 …51,"lon":10.02785726730668,"vac":29,"vel":-1,"lat":52.37888580984668,"cog":-1,"tid":"NE","batt":96}
2 …51,"lon":10.12589338283843,"vac":29,"vel":-1,"lat":52.35875498932977,"cog":-1,"tid":"NE","batt":95}
4 …51,"lon":10.75530210620358,"vac":29,"vel":-1,"lat":52.30995001175547,"cog":-1,"tid":"NE","batt":95}
5 …51,"lon":10.86265983610408,"vac":29,"vel":-1,"lat":52.28833075036061,"cog":-1,"tid":"NE","batt":94}
7 …29,"lon":11.41177879499181,"vac":56,"vel":-1,"lat":52.18106927977037,"cog":-1,"tid":"NE","batt":93}
8 …29,"lon":11.53796442908309,"vac":56,"vel":-1,"lat":52.13745195383985,"cog":-1,"tid":"NE","batt":93}
9 …29,"lon":11.62219349201541,"vac":56,"vel":-1,"lat":52.04909826664092,"cog":-1,"tid":"NE","batt":93}
11 …:86,"lon":11.6713054715202,"vac":42,"vel":-1,"lat":51.74682642787724,"cog":-1,"tid":"NE","batt":92}
13 …111,"lon":11.81757730432955,"vac":24,"vel":0,"lat":51.65665419777078,"cog":-1,"tid":"NE","batt":88}
21 …249,"lon":13.0338817276182,"vac":4,"vel":39,"lat":51.17630911995766,"cog":138,"tid":"NE","batt":94}
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/psutil/scripts/
H A Dbattery.py32 batt = psutil.sensors_battery()
33 if batt is None:
36 print("charge: %s%%" % round(batt.percent, 2))
37 if batt.power_plugged:
39 "charging" if batt.percent < 100 else "fully charged"))
42 print("left: %s" % secs2hours(batt.secsleft))
/dports/sysutils/py-psutil/psutil-5.8.0/scripts/
H A Dbattery.py32 batt = psutil.sensors_battery()
33 if batt is None:
36 print("charge: %s%%" % round(batt.percent, 2))
37 if batt.power_plugged:
39 "charging" if batt.percent < 100 else "fully charged"))
42 print("left: %s" % secs2hours(batt.secsleft))
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/psutil/scripts/
H A Dbattery.py32 batt = psutil.sensors_battery()
33 if batt is None:
36 print("charge: %s%%" % round(batt.percent, 2))
37 if batt.power_plugged:
39 "charging" if batt.percent < 100 else "fully charged"))
42 print("left: %s" % secs2hours(batt.secsleft))
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/ressources/FMDP/coffee/
H A Dcoffee3.cost.dat16 ( batt dead low high ) // batt: battery state
42 (batt (dead (batt' ( dead ( 1.0 ) ) ( low ( 0.0 ) ) ( high ( 0.0 ) ) ) )
43 ( low ( batt' (dead (0.2)) (low (0.8)) (high (0.0))))
55 batt ( defaultbatt )
81 batt ( defaultbatt )
98 batt ( defaultbatt )
109 batt ( defaultbatt )
131 batt (defaultbatt)
153 batt (defaultbatt)
165batt (l (office (batt' ( dead ( 0.0 ) ) ( low ( 0.0 ) ) ( high ( 1.0 ) ) ) )
[all …]
H A Dcoffee2.cost.dat16 ( batt dead low high ) // batt: battery state
68 (batt (dead (batt' ( dead ( 1.0 ) ) ( low ( 0.0 ) ) ( high ( 0.0 ) ) ) )
81 batt ( defaultbatt )
106 // l (batt (dead (samel)) (low (moveloc)) (high (moveloc)))
107 batt ( defaultbatt )
124 batt ( defaultbatt )
135 batt ( defaultbatt )
157 batt (defaultbatt)
179 batt (defaultbatt)
191batt (l (office (batt' ( dead ( 0.0 ) ) ( low ( 0.0 ) ) ( high ( 1.0 ) ) ) )
[all …]
H A Dcoffee2po2.dat19 ( batt dead low high ) // batt: battery state
31 batt ( 0.0 0.0 1.0 )
83 (batt (dead (batt' ( dead ( 1.0 ) ) ( low ( 0.0 ) ) ( high ( 0.0 ) ) ) )
96 batt ( defaultbatt )
108 batt ( defaultbatt )
139 batt ( defaultbatt )
159 batt ( defaultbatt )
173 batt ( defaultbatt )
198 batt (defaultbatt)
238batt (l (office (batt' ( dead ( 0.0 ) ) ( low ( 0.0 ) ) ( high ( 1.0 ) ) ) )
[all …]
H A Dcoffee2po.dat18 ( batt dead low high ) // batt: battery state
30 batt ( 0.0 0.0 1.0 )
82 (batt (dead (batt' ( dead ( 1.0 ) ) ( low ( 0.0 ) ) ( high ( 0.0 ) ) ) )
95 batt ( defaultbatt )
126 batt ( defaultbatt )
148 batt ( defaultbatt )
164 batt ( defaultbatt )
191 batt (defaultbatt)
218 batt (defaultbatt)
235batt (l (office (batt' ( dead ( 0.0 ) ) ( low ( 0.0 ) ) ( high ( 1.0 ) ) ) )
[all …]
/dports/x11/lxpanel/lxpanel-0.9.3/po/
H A Dkm.po276 #: ../plugins/batt/batt.c:702
1557 #: ../plugins/batt/batt.c:154
1562 #: ../plugins/batt/batt.c:165
1567 #: ../plugins/batt/batt.c:171
1572 #: ../plugins/batt/batt.c:181
1579 #: ../plugins/batt/batt.c:183
1586 #: ../plugins/batt/batt.c:185
1593 #: ../plugins/batt/batt.c:187
1600 #: ../plugins/batt/batt.c:190
1639 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dlv.po271 #: ../plugins/batt/batt.c:702
1541 #: ../plugins/batt/batt.c:154
1546 #: ../plugins/batt/batt.c:165
1551 #: ../plugins/batt/batt.c:171
1556 #: ../plugins/batt/batt.c:181
1563 #: ../plugins/batt/batt.c:183
1570 #: ../plugins/batt/batt.c:185
1577 #: ../plugins/batt/batt.c:187
1584 #: ../plugins/batt/batt.c:190
1623 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dml.po268 #: ../plugins/batt/batt.c:702
1537 #: ../plugins/batt/batt.c:154
1542 #: ../plugins/batt/batt.c:165
1547 #: ../plugins/batt/batt.c:171
1552 #: ../plugins/batt/batt.c:181
1559 #: ../plugins/batt/batt.c:183
1566 #: ../plugins/batt/batt.c:185
1573 #: ../plugins/batt/batt.c:187
1580 #: ../plugins/batt/batt.c:190
1619 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dth.po270 #: ../plugins/batt/batt.c:702
1538 #: ../plugins/batt/batt.c:154
1543 #: ../plugins/batt/batt.c:165
1548 #: ../plugins/batt/batt.c:171
1553 #: ../plugins/batt/batt.c:181
1560 #: ../plugins/batt/batt.c:183
1567 #: ../plugins/batt/batt.c:185
1574 #: ../plugins/batt/batt.c:187
1581 #: ../plugins/batt/batt.c:190
1620 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dps.po268 #: ../plugins/batt/batt.c:702
1537 #: ../plugins/batt/batt.c:154
1542 #: ../plugins/batt/batt.c:165
1547 #: ../plugins/batt/batt.c:171
1552 #: ../plugins/batt/batt.c:181
1559 #: ../plugins/batt/batt.c:183
1566 #: ../plugins/batt/batt.c:185
1573 #: ../plugins/batt/batt.c:187
1580 #: ../plugins/batt/batt.c:190
1619 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dzh_HK.po270 #: ../plugins/batt/batt.c:702
1538 #: ../plugins/batt/batt.c:154
1543 #: ../plugins/batt/batt.c:165
1548 #: ../plugins/batt/batt.c:171
1553 #: ../plugins/batt/batt.c:181
1560 #: ../plugins/batt/batt.c:183
1567 #: ../plugins/batt/batt.c:185
1574 #: ../plugins/batt/batt.c:187
1581 #: ../plugins/batt/batt.c:190
1620 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dar.po282 #: ../plugins/batt/batt.c:702
1579 #: ../plugins/batt/batt.c:154
1584 #: ../plugins/batt/batt.c:165
1589 #: ../plugins/batt/batt.c:171
1594 #: ../plugins/batt/batt.c:181
1601 #: ../plugins/batt/batt.c:183
1608 #: ../plugins/batt/batt.c:185
1615 #: ../plugins/batt/batt.c:187
1624 #: ../plugins/batt/batt.c:190
1667 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dja.po285 #: ../plugins/batt/batt.c:702
1576 #: ../plugins/batt/batt.c:154
1581 #: ../plugins/batt/batt.c:165
1586 #: ../plugins/batt/batt.c:171
1591 #: ../plugins/batt/batt.c:181
1600 #: ../plugins/batt/batt.c:183
1609 #: ../plugins/batt/batt.c:185
1618 #: ../plugins/batt/batt.c:187
1627 #: ../plugins/batt/batt.c:190
1676 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]
H A Dko.po279 #: ../plugins/batt/batt.c:702
1568 #: ../plugins/batt/batt.c:154
1573 #: ../plugins/batt/batt.c:165
1578 #: ../plugins/batt/batt.c:171
1583 #: ../plugins/batt/batt.c:181
1592 #: ../plugins/batt/batt.c:183
1601 #: ../plugins/batt/batt.c:185
1610 #: ../plugins/batt/batt.c:187
1619 #: ../plugins/batt/batt.c:190
1668 #: ../plugins/batt/batt.c:534 ../plugins/batt/batt.c:667
[all …]

1234567891011