Lines Matching defs:battery
250 /* 12th byte is for battery strength */
493 struct power_supply *battery;
805 * The sixaxis is charging if the battery value is 0xee
1667 * Set the default battery level to 100% to avoid low battery warnings
1668 * if the battery is polled before the first device report is received.
1682 sc->battery = devm_power_supply_register(&hdev->dev, &sc->battery_desc,
1684 if (IS_ERR(sc->battery)) {
1685 ret = PTR_ERR(sc->battery);
1686 hid_err(hdev, "Unable to register battery device\n");
1690 power_supply_powers(sc->battery, &hdev->dev);
2031 /* Open the device to receive reports with battery info */