ds1685_rtc_...battery_show(9)
π ds1685_rtc_...battery_show(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in kernel land today and yes it's gonna slay π«Ά this little page is your guide to the sysfs hook that shows off your main battery's status. no cap, that's the whole vibe.
β¨ NAME β¨
ds1685_rtc_sysfs_battery_show β the sysfs file that spills the tea on your main battery status. π
πΈ SYNOPSIS πΈ
ssize_t ds1685_rtc_sysfs_battery_show (struct device *dev , struct
device_attribute *attr , char *buf );
π ARGUMENTS π
devβ pointer to the device structure. like, the device in question, showing up to the group chat πattrβ pointer to the device_attribute structure. the attribute bestie in question β¨bufβ pointer to the char array that's gonna hold the output. this is where the answer goes, it's giving stage π€
π¦ SEE ALSO π¦
kernel file ./drivers/rtc/rtc-ds1685.c β and honestly the whole friend group is here, go say hi π
ds1685_read(9)ds1685_write(9)ds1685_indirect_read(9)ds1685_indirect_write(9)ds1685_rtc_bcd2bin(9)ds1685_rtc_bin2bcd(9)ds1685_rtc_check_mday(9)ds1685_rtc_switch_to_bank0(9)ds1685_rtc_switch_to_bank1(9)ds1685_rtc_begin_data_access(9)ds1685_rtc_end_data_access(9)ds1685_rtc_get_ssn(9)ds1685_rtc_read_time(9)ds1685_rtc_set_time(9)ds1685_rtc_read_alarm(9)ds1685_rtc_set_alarm(9)ds1685_rtc_alarm_irq_enable(9)ds1685_rtc_extended_irq(9)ds1685_rtc_irq_handler(9)ds1685_rtc_proc(9)ds1685_rtc_sysfs_auxbatt_show(9)ds1685_rtc_sysfs_serial_show(9)ds1685_rtc_probe(9)ds1685_rtc_remove(9)ds1685_rtc_poweroff(9)
and that's the whole page, bestie, you ate that π
β¨ this little gem comes from ./drivers/rtc, dated October 2026 β iconic behavior fr fr, go forth and read your battery status ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms