uclogic_para..._has_battery(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… uclogic_para..._has_battery(9) β€” Kernel API Manual, but make it make sense

okay so bestie, this is a page from the Kernel API Manual (the (9) means it's a kernel-internal function page, iykyk) and it's all about one very specific little question: does this UGEE v2 tablet have a battery or not. That's it. That's the whole vibe check. πŸ¦‹


✨ NAME ✨

uclogic_params_ugee_v2_has_battery β€” checks whether a UGEE v2 device has a battery or not, no cap. πŸ”‹


🌸 SYNOPSIS 🌸

bool uclogic_params_ugee_v2_has_battery (struct hid_device *hdev );

like literally just hand it a hdev and it tells you yes or no, periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • hdev β€” the HID device of the tablet interface. that's the one you're asking about, bestie πŸ’–

⭐ RETURN ⭐

Returns True if the device has a battery, and false otherwise. that's the whole answer, no plot twist 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/hid/hid-uclogic-params.c β€” that's where the actual source lives, go look if you're curious (you should be, it's giving main character energy ✨)

and the whole friend group of related pages, all of them, in order:


πŸ’€ heads up bestie: this page lives under ./drivers/hid and it's dated October 2026 β€” that's the source/version and date info, tucked into the sign-off instead of a boring footer. slay. πŸ’…πŸŽ€

anyway ily, go check your battery, bye πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from