The trivial-battery Reference Manual

This is the trivial-battery Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed May 15 07:09:27 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 trivial-battery

Getting the battery information

Author

Eitaro Fukamachi

License

BSD 2-Clause

Version

0.1.0

Dependency

trivial-battery/main (system).

Source

trivial-battery.asd.


2.2 trivial-battery/main

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependency

trivial-battery/os/linux (system).

Source

trivial-battery.asd.


2.3 trivial-battery/os/linux

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependency

split-sequence (system).

Source

trivial-battery.asd.


3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 trivial-battery/trivial-battery.asd

Source

trivial-battery.asd.

Parent Component

trivial-battery (system).

ASDF Systems

3.1.2 trivial-battery/main/file-type.lisp

Source

trivial-battery.asd.

Parent Component

trivial-battery/main (system).

Packages

trivial-battery.


3.1.3 trivial-battery/os/linux/file-type.lisp

Source

trivial-battery.asd.

Parent Component

trivial-battery/os/linux (system).

Packages

trivial-battery/os/linux.

Public Interface

battery-info (function).

Internals

4 Packages

Packages are listed by definition order.


4.1 trivial-battery

Source

file-type.lisp.

Nickname

trivial-battery/main


4.2 trivial-battery/os/linux

Source

file-type.lisp.

Use List

common-lisp.

Public Interface

battery-info (function).

Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: battery-info ()
Package

trivial-battery/os/linux.

Source

file-type.lisp.


5.2 Internals


5.2.1 Ordinary functions

Function: batteries ()
Package

trivial-battery/os/linux.

Source

file-type.lisp.

Function: battery-charging-p (battery)
Package

trivial-battery/os/linux.

Source

file-type.lisp.

Function: battery-details (battery)
Package

trivial-battery/os/linux.

Source

file-type.lisp.

Function: battery-percentage (battery)
Package

trivial-battery/os/linux.

Source

file-type.lisp.

Function: slurp-line (pathname)
Package

trivial-battery/os/linux.

Source

file-type.lisp.

Function: try-int (value)
Package

trivial-battery/os/linux.

Source

file-type.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables