The trivial-battery Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

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 Tue Nov 15 07:25:06 2022 GMT+0.

Table of Contents


1 Introduction

trivial-battery

A trivial library for getting the battery informations.

Usage

(trivial-battery:battery-info)
;=> (("percentage" . 73) ("charging" . T))

Author

Copyright

Copyright (c) 2017 Eitaro Fukamachi (e.arrows@gmail.com)

License

Licensed under the BSD 2-Clause License.


2 Systems

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


Next: , Previous: , Up: Systems   [Contents][Index]

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.


Previous: , Up: Files   [Contents][Index]

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


Previous: , Up: Packages   [Contents][Index]

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.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Ordinary functions

Function: battery-info ()
Package

trivial-battery/os/linux.

Source

file-type.lisp.


5.2 Internals


Previous: , Up: Internals   [Contents][Index]

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


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables