jb@asahi:~/logs -$ acpi Battery 0: Discharging, 92%, discharging at zero rate - will never fully discharge. jb@asahi:~/logs -$ strace acpi execve("/usr/bin/acpi", ["acpi"], 0xffffcaf5cb90 /* 46 vars */) = 0 brk(NULL) = 0xaaaae1008000 faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=199335, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 199335, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffff53510000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0p}\2\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1673696, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1842496, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff5334c000 mmap(0xffff53350000, 1776960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xffff53350000 munmap(0xffff5334c000, 16384) = 0 munmap(0xffff53504000, 40256) = 0 mprotect(0xffff534e0000, 65536, PROT_NONE) = 0 mmap(0xffff534f0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x190000) = 0xffff534f0000 mmap(0xffff534f8000, 40256, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffff534f8000 close(3) = 0 set_tid_address(0xffff53582dd0) = 16509 set_robust_list(0xffff53582de0, 24) = 0 rseq(0xffff535834a0, 0x20, 0, 0xd428bc00) = 0 mprotect(0xffff534f0000, 16384, PROT_READ) = 0 mprotect(0xffff5357c000, 16384, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 munmap(0xffff53510000, 199335) = 0 getrandom("\x14\xbd\xf7\xd1\x49\x04\xca\x9c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0xaaaae1008000 brk(0xaaaae102c000) = 0xaaaae102c000 chdir("/sys/class") = 0 chdir("power_supply") = 0 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0xaaaae10082f0 /* 6 entries */, 32768) = 216 openat(AT_FDCWD, "macsmc-ac/current_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/power_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/charge_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/energy_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/voltage_now", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "0\n", 8192) = 2 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-ac/voltage_min_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/charge_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/energy_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/charge_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/energy_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/online", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "0\n", 8192) = 2 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-ac/status", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/type", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "Mains\n", 8192) = 6 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-ac/temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_0_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_0_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_1_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_1_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_2_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_2_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_3_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_3_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_4_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/trip_point_4_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/cur_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-ac/max_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/current_now", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "-274000\n", 8192) = 8 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/power_now", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "-3361000\n", 8192) = 9 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/charge_now", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "3970000\n", 8192) = 8 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/energy_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/voltage_now", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "12269000\n", 8192) = 9 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/voltage_min_design", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "9000000\n", 8192) = 8 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/charge_full", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "4279000\n", 8192) = 8 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/energy_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/charge_full_design", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "5103000\n", 8192) = 8 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/energy_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/online", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/status", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "Discharging\n", 8192) = 12 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/type", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "Battery\n", 8192) = 8 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/temp", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "331\n", 8192) = 4 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "macsmc-battery/trip_point_0_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_0_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_1_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_1_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_2_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_2_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_3_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_3_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_4_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/trip_point_4_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/cur_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "macsmc-battery/max_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/current_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/power_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/charge_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/energy_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/voltage_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/voltage_min_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/charge_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/energy_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/charge_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/energy_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/online", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "0\n", 8192) = 2 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "tps6598x-source-psy-4-0038/status", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/type", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "USB\n", 8192) = 4 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "tps6598x-source-psy-4-0038/temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_0_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_0_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_1_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_1_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_2_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_2_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_3_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_3_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_4_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/trip_point_4_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/cur_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-0038/max_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/current_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/power_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/charge_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/energy_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/voltage_now", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/voltage_min_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/charge_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/energy_full", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/charge_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/energy_full_design", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/online", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "0\n", 8192) = 2 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "tps6598x-source-psy-4-003f/status", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/type", O_RDONLY) = 4 newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=16384, ...}, AT_EMPTY_PATH) = 0 read(4, "USB\n", 8192) = 4 read(4, "", 8192) = 0 close(4) = 0 openat(AT_FDCWD, "tps6598x-source-psy-4-003f/temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_0_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_0_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_1_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_1_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_2_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_2_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_3_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_3_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_4_type", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/trip_point_4_temp", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/cur_state", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tps6598x-source-psy-4-003f/max_state", O_RDONLY) = -1 ENOENT (No such file or directory) getdents64(3, 0xaaaae10082f0 /* 0 entries */, 32768) = 0 close(3) = 0 newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}, AT_EMPTY_PATH) = 0 write(1, "Battery 0: Discharging, 92%, dis"..., 84Battery 0: Discharging, 92%, discharging at zero rate - will never fully discharge. ) = 84 exit_group(0) = ? +++ exited with 0 +++