𝘎(
Size: a a a
𝘎(
PP
PP
PP
𝘎(
f
f
(defcommand battery-notify () ()
(let ((bat0 (get-bat0))
(bat1 (get-bat1)))
(cond
((is-battery-charging)
(if (and (not *bats-low*) (> bat0 10) (> bat1 10))
(progn
(setf *bats-low* t
bat0 t
bat1 t))
(cond
((and (not *bat0-low*) (> bat0 10))
(setf *bat0-low* t))
((and (not *bat1-low*) (> bat1 10))
(setf *bat1-low* t)))))
((and (< bat0 10) (< bat1 10))
(when (not *bats-low*)
(message "Battereys is low")
(setf *bats-low* t)))
((< bat0 10)
(when (not *bat0-low)
(message "Bat0 is low")
(setf *bat0-low* t)))
((< bat1 10)
(when (not *bat1-low)
(message "Bat1 is low")
(setf *bat1-low* t))))))
f
𝘎(
f
f
𝘎(
f
𝘎(
𝘎(
𝘎(
𝘎(