lkml.org 
[lkml]   [2021]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 4/4] HID: input: map battery capacity (00850065)
On Sat, Mar 27, 2021 at 9:06 PM John Chen <johnchen902@gmail.com> wrote:
> + hidinput_setup_battery(device, HID_INPUT_REPORT, field);
> + usage->type = EV_PWR;
> + device->battery_min = 0;
> + device->battery_max = 100;

I just realized that this won't compile without CONFIG_HID_BATTERY_STRENGTH.

\
 
 \ /
  Last update: 2021-03-27 15:15    [W:0.047 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site